service

package
v0.0.0-...-7871201 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewMessageService = new(serviceMessage)

Functions

This section is empty.

Types

type RecvMsg

type RecvMsg struct {
	Imei   string        `json:"imei"`
	ToImei string        `json:"toImei"`
	Action RecvMsgAction `json:"action"`
	Data   interface{}   `json:"data"`
}

type RecvMsgAction

type RecvMsgAction string
const (
	RecvMsgAction_Bind  RecvMsgAction = "bind"
	RecvMsgAction_ToUid RecvMsgAction = "toUid"
)

type RespMsg

type RespMsg struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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