database

package
v0.0.0-...-f3497b4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAdminDuplicate

func CheckAdminDuplicate(newAdmin string) bool

func CheckTagDuplicate

func CheckTagDuplicate(cliTag string) bool

func CheckToken

func CheckToken(cliToken string) (string, string)

func DelToken

func DelToken(cliTag string) bool

func FetchAdmin

func FetchAdmin(token string) (string, bool)

func FetchMessages

func FetchMessages(admin string) []helper.Message

func FetchToken

func FetchToken() []string

func StoreAdmin

func StoreAdmin(admin string, token string) bool

func StoreMessage

func StoreMessage(admin string, tag string, content string) bool

func StoreToken

func StoreToken(tag string, token string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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