Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpPermissions ¶
func DumpPermissions(perms map[string][]*Permissions)
DumpPermissions dumps permissions for our clients to stdout.
Types ¶
type Credentials ¶
type Credentials struct { // RequestID is the ID of the request. RequestID string // Client is the authenticated client. Client string // IP is the originating IP address of the request. IP string }
Credentials are the credentials used to check.
type Permissions ¶
type Permissions struct { Path string `mapstructure:"path"` Operations []string `mapstructure:"operations"` }
Permissions contains information about the operations allowed by the client.
Click to show internal directories.
Click to hide internal directories.