inconfig

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrChangeNotSupported = errors.New("changing ACL is not supported")
	ErrUserNotFound       = errors.New("user not found")
)

Functions

func New

func New(c *Config) storage.IStorage

Types

type Config

type Config struct {
	ACL map[string]string `yaml:"auth_acl"`
}

type InConfig

type InConfig struct {
	// contains filtered or unexported fields
}

func (*InConfig) ChangeACL

func (v *InConfig) ChangeACL(_, _ string) error

func (*InConfig) FindACL

func (v *InConfig) FindACL(email string) (string, error)

Jump to

Keyboard shortcuts

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