tag

package
v0.0.0-...-d7c22ce Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBNAME     string
	DBUSERNAME string
	DBPWD      string
	TABLENAME  string
)

Functions

func Add

func Add(name, url, owner, channel, guild string, scope int) bool

add tag return add status

func Delete

func Delete(name, url, owner, channel, guild string, scope int) bool

delete tag return delete status

func Get

func Get(name, channel, guild string, scope int) (bool, string)

get tag using tag name return search status dan tag_url

func Info

func Info(name, channel, guild string) (bool, string)

get metadata of a tag using name return search status and string of metadata

func List

func List(channel, guild string) string

get a list of all available tags

Types

type Tag

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

Jump to

Keyboard shortcuts

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