Documentation
¶
Index ¶
Constants ¶
View Source
const MaxLevel = uint8(9)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ConfigInConfigStorage ¶
type OptionInMemoryStorage ¶
type OptionInMemoryStorage func(v *storeInMemory)
func OptionInMemoryStorageSetupData ¶
func OptionInMemoryStorageSetupData(data map[string]string) OptionInMemoryStorage
type Storage ¶
type Storage interface { FindACL(email string) (string, error) ChangeACL(email, access string) error }
func NewInConfigStorage ¶
func NewInConfigStorage(c *ConfigInConfigStorage) Storage
func NewInMemoryStorage ¶
func NewInMemoryStorage(opts ...OptionInMemoryStorage) Storage
Click to show internal directories.
Click to hide internal directories.