Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hostname ¶
func Hostname() string
Hostname reads HOSTNAME env var or os.Hostname used for your app
func RegisterAPI ¶
RegisterAPI registers OAuth HTTP handlers
func WithProviders ¶
WithProviders registers OAuth providers Example: import "github.com/markbates/goth/providers/vk" oauth.WithProviders("vk", vk.New)
Types ¶
type Router ¶
type Router interface {
Get(pattern string, h http.HandlerFunc)
}
Router interface to allow use of any router
Click to show internal directories.
Click to hide internal directories.