Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessKeyValidationPreprocessor ¶ added in v0.6.0
AccessKeyValidationPreprocessor provides preprocess method to check the API key of the request.
func (AccessKeyValidationPreprocessor) Preprocess ¶ added in v0.6.0
type ConnPreprocessor ¶
type ConnPreprocessor struct { AppName string AccessControl string DBOpener func(string, string, string, string, bool) (skydb.Conn, error) DBImpl string Option string DevMode bool }
func (ConnPreprocessor) Preprocess ¶
type DevOnlyProcessor ¶ added in v0.5.0
type DevOnlyProcessor struct {
DevMode bool
}
func (DevOnlyProcessor) Preprocess ¶ added in v0.5.0
type EnsurePluginReadyPreprocessor ¶ added in v0.4.0
type EnsurePluginReadyPreprocessor struct {
PluginInitContext *plugin.InitContext
}
func (*EnsurePluginReadyPreprocessor) Preprocess ¶ added in v0.4.0
type InjectDatabase ¶
type InjectDatabase struct { }
func (InjectDatabase) Preprocess ¶ added in v0.4.1
type InjectPublicDatabase ¶ added in v0.5.0
type InjectPublicDatabase struct { }
func (InjectPublicDatabase) Preprocess ¶ added in v0.5.0
type InjectUserIfPresent ¶
type InjectUserIfPresent struct { }
func (InjectUserIfPresent) Preprocess ¶ added in v0.4.1
type NotificationPreprocessor ¶
func (NotificationPreprocessor) Preprocess ¶
type RequireUserForWrite ¶
type RequireUserForWrite struct { }
func (RequireUserForWrite) Preprocess ¶ added in v0.4.1
type UserAuthenticator ¶
type UserAuthenticator struct { ClientKey string MasterKey string AppName string TokenStore authtoken.Store }
UserAuthenticator provides preprocess method to authenicate a user with access token or non-login user without api key.
func (*UserAuthenticator) Preprocess ¶
Click to show internal directories.
Click to hide internal directories.