accounts

package
v0.0.0-...-a89b161 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 config and db objects to avoid passing them around

func NewService

func NewService(cnf *config.Config, db *gorm.DB, oauthService oauth.ServiceInterface) *Service

NewService starts a new Service instance

func (*Service) GetOauthService

func (s *Service) GetOauthService() oauth.ServiceInterface

GetOauthService returns oauth.Service instance

type ServiceInterface

type ServiceInterface interface {
	// Exported methods
	GetOauthService() oauth.ServiceInterface
}

ServiceInterface defines exported methods

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL