api

package
v0.0.0-...-19e6259 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMessage

func AddMessage(message string)

func CreateOrder

func CreateOrder(r *protocol.CreateOrderRequest) (interface{}, error)

func DeskByID

func DeskByID(id int64) (*protocol.Desk, error)

func DeskList

func DeskList(playerId int64) ([]protocol.Desk, int64, error)

func HistoryByID

func HistoryByID(id int64) (*protocol.History, error)

func HistoryList

func HistoryList(req *protocol.HistoryListRequest) ([]protocol.History, int64, error)

func HistoryLiteList

func HistoryLiteList(deskId int64) ([]protocol.HistoryLite, int64, error)

func MakeDeskService

func MakeDeskService() http.Handler

func MakeHistoryService

func MakeHistoryService() http.Handler

func MakeLoginService

func MakeLoginService() http.Handler

func MakeOrderService

func MakeOrderService() http.Handler

func WechatNotify

func WechatNotify(r *protocol.WechatOrderCallbackRequest) (resp interface{}, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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