perm

package
v0.0.0-...-4167ae3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAdmin

func AddAdmin(qq int64)

func AddWhitelist

func AddWhitelist(qq int64)

func DelAdmin

func DelAdmin(qq int64)

func DelWhitelist

func DelWhitelist(qq int64)

func DisableAllWhitelist

func DisableAllWhitelist() (count int)

func EnableAllWhitelist

func EnableAllWhitelist() (count int)

func IsAdmin

func IsAdmin(qq int64) bool

func IsSuperAdmin

func IsSuperAdmin(qq int64) bool

func IsWhitelist

func IsWhitelist(qq int64) bool

func ListAdmin

func ListAdmin() (list []string)

ListAdmin 因为这个接口一般用来展示,所以返回[]string

func ListWhitelist

func ListWhitelist() (list []string)

ListWhitelist 因为这个接口一般用来展示,所以返回[]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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