gowhatsplugins

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

gowhatsplugins

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthPath = "auth.json"
View Source
var Auths map[string][]string = map[string][]string{}

Functions

func ExistsID added in v0.0.3

func ExistsID(atype AuthType, id string) bool

func Gowhatsplugins_init

func Gowhatsplugins_init()

func MasterValidator added in v0.0.3

func MasterValidator(i interface{}, c *whatsmeow.Client) (bool, error)

func RegisterID added in v0.0.3

func RegisterID(atype AuthType, id string) bool

func RemoveID added in v0.0.3

func RemoveID(atype AuthType, id string) bool

func UserValidator added in v0.0.3

func UserValidator(i interface{}, c *whatsmeow.Client) (bool, error)

Types

type AuthType added in v0.0.3

type AuthType string
const (
	AuthMaster  AuthType = "master"
	AuthUser    AuthType = "user"
	AuthBlocked AuthType = "blocked"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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