Documentation ¶
Index ¶
- func MakeHTTPHandler(service Service, responseCode *int) *http.ServeMux
- func NewClient(httpClient *http.Client) client
- func NewOAuthConfig(clientID string, clientSecret string, scopes []string, ...) *oauth2.Config
- func NewRepository(db *sqlx.DB, oauthConfig *oauth2.Config) repository
- func NewService(oauthConfig *oauth2.Config, connectBaseURL string, repo Repository) service
- type Repository
- type Service
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOAuthConfig ¶
func NewService ¶
func NewService(oauthConfig *oauth2.Config, connectBaseURL string, repo Repository) service
Types ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.