config

package
v0.0.0-...-8365721 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CertClientUserRole is user role of the client
	CertClientUserRole = "Cert Client User"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL struct {
	Path          string `toml:"path"`
	Filter        string `toml:"filter"`
	AdminCert     string `toml:"admincert"`
	UserCert      string `toml:"usercert"`
	Authorization Author
}

ACL what?

func NewACLConfig

func NewACLConfig() *ACL

NewACLConfig create new ACL config

type Author

type Author uint32

Author describes a set of authorization.

const (
	Signature Author = 1 << iota
	OU
	CN
)

These are the generalized file operations that can trigger a notification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL