Documentation ¶ Index ¶ Variables type Auth func (a *Auth) GetUser(r *http.Request) (string, error) func (a *Auth) UnmarshalYAML(unmarshal func(interface{}) error) error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNoPluginKey = fmt.Errorf(`no 'plugin' key in auth`) ErrPluginKeyNoString = fmt.Errorf(`'plugin' key in auth is not a string`) ErrNoAuthPlugin = fmt.Errorf(`unexpected plugin in auth`) ) Functions ¶ This section is empty. Types ¶ type Auth ¶ type Auth struct { Plugin hp.Auth } func (*Auth) GetUser ¶ func (a *Auth) GetUser(r *http.Request) (string, error) func (*Auth) UnmarshalYAML ¶ func (a *Auth) UnmarshalYAML(unmarshal func(interface{}) error) error Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.