common

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseUrl    = "https://www.kookapp.cn/api"
	V3Url      = "/v3"
	GateWayUrl = "/gateway/index"

	MessageList           = "/message/list"
	MessageView           = "/message/view"
	MessageCreate         = "/message/create"
	MessageUpdate         = "/message/update"
	MessageDelete         = "/message/delete"
	MessageReactionList   = "/message/reaction-list"
	MessageAddReaction    = "/message/add-reaction"
	MessageDeleteReaction = "/message/delete-reaction"

	ChannelList       = "/channel/list"
	ChannelView       = "/channel/view"
	ChannelCreate     = "/channel/create"
	ChannelUpdate     = "/channel/update"
	ChannelDelete     = "/channel/delete"
	ChannelUserList   = "/channel/user-list"
	ChannelMoveUser   = "/channel/move-user"
	ChannelRoleIndex  = "/channel-role/index"
	ChannelRoleCreate = "/channel-role/create"
	ChannelRoleUpdate = "/channel-role/update"
	ChannelRoleSync   = "/channel-role/sync"
	ChannelRoleDelete = "/channel-role/delete"

	GuildList         = "/guild/list"
	GuildView         = "/guild/view"
	GuildUserList     = "/guild/user-list"
	GuildNickname     = "/guild/nickname"
	GuildLeave        = "/guild/leave"
	GuildKickout      = "/guild/kickout"
	GuildMuteList     = "/guild-mute/list"
	GuildMuteCreate   = "/guild-mute/create"
	GuildMuteDelete   = "/guild-mute/delete"
	GuildBoostHistory = "/guild-boost/history"

	OfflineBot = "/user/offline"

	// Asset about
	AssetCreate = "/asset/create"
)

Variables

This section is empty.

Functions

func InitLogger

func InitLogger()

Types

This section is empty.

Jump to

Keyboard shortcuts

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