Documentation ¶
Index ¶
- type Service
- func (s *Service) Close()
- func (s *Service) GetConfig() *config.Config
- func (s *Service) GetOauthService() oauth.ServiceInterface
- func (s *Service) GetRoutes() []routes.Route
- func (s *Service) GetSessionService() session.ServiceInterface
- func (s *Service) RegisterRoutes(router *mux.Router, prefix string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct keeps variables for reuse
func NewService ¶
func NewService(cnf *config.Config, oauthService oauth.ServiceInterface, sessionService session.ServiceInterface) *Service
NewService returns a new Service instance
func (*Service) GetOauthService ¶
func (s *Service) GetOauthService() oauth.ServiceInterface
GetOauthService returns oauth.Service instance
func (*Service) GetSessionService ¶
func (s *Service) GetSessionService() session.ServiceInterface
GetSessionService returns session.Service instance
Click to show internal directories.
Click to hide internal directories.