api

package
v0.0.0-...-baf6233 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSign

func CheckSign(ctx *gin.Context, param CommonParams) error

func GetOriJson

func GetOriJson(ctx *gin.Context) string

func MsgSend

func MsgSend(ctx *gin.Context)

func RoomGetAll

func RoomGetAll(ctx *gin.Context)

Types

type CommonParams

type CommonParams struct {
	AppId int32  `form:"appid" binding:"required"`
	Ts    int64  `form:"ts" binding:"required"`
	Once  string `form:"once" binding:"required"`
	Sign  string `form:"sign" binding:"required"`
}

type CommonResponse

type CommonResponse struct {
	Status int32       `json:"status"`
	Msg    string      `json:"msg"`
	Data   interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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