Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 3 Imported by: 2

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