Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
// Apply applies one or more options to the service's configuration
Apply(opts ...options.Option)
Env() options.Environment
Config() config.Config
Name() string
Server() server.Server
Client() client.Client
Start() error
}
Service represents a service that can receive and send requests
func NewService ¶
NewService instantiates a new service and initializes it with options
Click to show internal directories.
Click to hide internal directories.