common

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const AccountBanListApiUrl = "/v2/rpc/player/ban"

AccountBanListApiUrl 接口-账户禁用列表地址

View Source
const AccountCount = "/v2/rpc/account_count"

AccountCount 账号总数

View Source
const AccountDetailApiUrl = "/v2/console/account"

AccountDetailApiUrl 接口-账户详情地址

View Source
const AccountListApiUrl = "/v2/console/account"

AccountListApiUrl 接口-账户列表地址

View Source
const AccountStatistical = "/v2/rpc/account_statistical"

AccountStatistical 账号总数统计

View Source
const AddGoods = "/v2/rpc/add_goods"

AddGoods 添加商品

View Source
const AuthenticateApiUrl = "/v2/console/authenticate"

AuthenticateApiUrl 登录地址

View Source
const CountApi = "/v2/console/status"

CountApi 统计

View Source
const LeaderboardApi = "/v2/console/leaderboard"

LeaderboardApi 排行榜

View Source
const MatchApi = "/v2/console/match"

MatchApi 比赛

View Source
const UpdateAccountApiUrl = "/v2/console/account"

UpdateAccountApiUrl 接口-更新账户信息

View Source
const UpdateGoods = "/v2/rpc/update_goods"

UpdateGoods 更新商品

View Source
const WalletGet = "/v2/rpc/wallet/get"

WalletGet 用户钱包活的

Variables

This section is empty.

Functions

This section is empty.

Types

type NakamaApi

type NakamaApi struct {
	Token string
}

func (*NakamaApi) GetNakamaHeader

func (n *NakamaApi) GetNakamaHeader(token string) map[string]string

GetNakamaHeader 获取请求header

type NakamaRpc

type NakamaRpc struct {
}

func (*NakamaRpc) GetNakamaHeader

func (n *NakamaRpc) GetNakamaHeader() map[string]string

GetNakamaHeader 获取请求header

Jump to

Keyboard shortcuts

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