Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eiffel ¶
type Eiffel struct {
// contains filtered or unexported fields
}
Eiffel is a service Gateway for Hackform
func (*Eiffel) InitRoute ¶
func (e *Eiffel) InitRoute(prefix string, routeConfig RouteConfig, m ...func(http.Handler) http.Handler)
InitRoute initializes Eiffel with the provided routes and middleware
func (*Eiffel) InitService ¶
func (e *Eiffel) InitService(s ServiceConfig, order []string)
InitService initializes Eiffel with the provided services
type RouteConfig ¶
RouteConfig is a map to simplify route initialization
type Service ¶
type Service interface { Start() error Shutdown() }
Service is an injectable interface for services
type ServiceConfig ¶
ServiceConfig is a map to simplify service initialization
Click to show internal directories.
Click to hide internal directories.