Documentation

Index

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) Init

func (s *ServiceImpl) Init(ctx context.Context) 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