Documentation ¶
Index ¶
- func HasPlugins() bool
- func InitPlugins()
- func LoginAudit(method string, status string, session *auth.SessionInfo, user *auth.UserInfo)
- func ReceiveAudit(p *clu.Context, r *http.Request)
- func SendAdabasPlugins(used time.Duration, ada interface{})
- func SendAuditEnded(started time.Time, r *http.Request)
- func SendAuditError(started time.Time, r *http.Request, err error)
- func ShutdownPlugins()
- type Adabas
- type AdabasLoader
- type Audit
- type AuditLoader
- type ExtendLoader
- type Loader
- type PluginTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginAudit ¶
LoginAudit login audit
func ReceiveAudit ¶
ReceiveAudit send audit information to plugins
func SendAdabasPlugins ¶
SendAdabasPlugins send adabas information to plugins
func SendAuditEnded ¶
SendAuditEnded send audit information to plugins
func SendAuditError ¶
SendAuditError send audit errors to plugins
Types ¶
type AdabasLoader ¶
AdabasLoader adabas plugin loader structure
type Audit ¶
type Audit interface { LoginAudit(string, string, *auth.SessionInfo, *auth.UserInfo) ReceiveAudit(string, string, *http.Request) SendAudit(time.Duration, string, string, *http.Request) SendAuditError(time.Duration, string, string, *http.Request, error) }
Audit auditing method to send to plugin
type AuditLoader ¶
AuditLoader auditing loader structure
type ExtendLoader ¶
type ExtendLoader struct { Loader Loader Extend server.RestExtend }
AdabasLoader adabas plugin loader structure
type PluginTypes ¶
type PluginTypes int
PluginTypes different types of plugins for - auditing - database operation
const ( // NoPlugin no plugin but may be used in module NoPlugin PluginTypes = iota // AuditPlugin auditing of RESTful server access AuditPlugin // AdabasPlugin Adabas plugin type AdabasPlugin // AuthPlugin authorize and authorize AuthPlugin // ExtendPlugin extend entry point "/rest/extend" ExtendPlugin )
Click to show internal directories.
Click to hide internal directories.