permission

package
v0.0.0-...-911c31e Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

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

func BanEntry

func BanEntry() *Entry

func NewEntry

func NewEntry(path string, expect string) *Entry

func OpEntry

func OpEntry() *Entry

func (*Entry) Add

func (e *Entry) Add(n string)

func (*Entry) Delete

func (e *Entry) Delete(n string)

func (*Entry) GetAll

func (e *Entry) GetAll() []string

func (*Entry) Has

func (e *Entry) Has(n string) bool

func (*Entry) Reload

func (e *Entry) Reload()

func (*Entry) ServerAllower

func (e *Entry) ServerAllower(msg string, allowHas bool) server.Allower

Jump to

Keyboard shortcuts

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