Documentation
Index ¶
- func LogMiddleware(log services.Logger) func(h echo.HandlerFunc) echo.HandlerFunc
- type ServiceImpl
- func (s *ServiceImpl) Close() error
- func (s *ServiceImpl) Init(ctx context.Context) error
- func (s *ServiceImpl) RegisterRoutes() *ServiceImpl
- func (s *ServiceImpl) Run() error
- func (s *ServiceImpl) ServiceManager() services.ServiceManager
- func (s *ServiceImpl) WithAddress(address string) *ServiceImpl
- func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.HttpServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogMiddleware ¶
func LogMiddleware(log services.Logger) func(h echo.HandlerFunc) echo.HandlerFunc
Types ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New() *ServiceImpl
func (*ServiceImpl) Close ¶
func (s *ServiceImpl) Close() error
func (*ServiceImpl) RegisterRoutes ¶
func (s *ServiceImpl) RegisterRoutes() *ServiceImpl
func (*ServiceImpl) Run ¶
func (s *ServiceImpl) Run() error
func (*ServiceImpl) ServiceManager ¶
func (s *ServiceImpl) ServiceManager() services.ServiceManager
func (*ServiceImpl) WithAddress ¶
func (s *ServiceImpl) WithAddress(address string) *ServiceImpl
func (*ServiceImpl) WithServiceManager ¶
func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.HttpServer