Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IComponent ¶
type IComponent interface {
// Start the component, it should be implemented as a blocking call
// method should return gracefully when ctx is Done
Start(ctx context.Context) error
}
IComponent interface is implemented by various services
func NewAPIServer ¶
func NewAPIServer(config config.Config) (IComponent, error)
NewAPIServer returns a component instance
Click to show internal directories.
Click to hide internal directories.