json

package
v0.0.0-...-1a2806f Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	ID      uint32      `form:"id" json:"id"`
	UID     uint64      `form:"uid" json:"uid"`
	MsgID   uint32      `form:"msgID" json:"msgID"`
	MsgType uint32      `form:"msgType" json:"msgType"`
	Seq     uint32      `form:"seq" json:"seq"`
	Options string      `form:"options" json:"options"`
	Body    interface{} `form:"body" json:"body"`
}

Message json struct

func (*Message) GetBody

func (m *Message) GetBody() interface{}

GetBody >

func (*Message) GetID

func (m *Message) GetID() uint32

GetID >

func (*Message) GetMsgID

func (m *Message) GetMsgID() uint32

GetMsgID >

func (*Message) GetMsgType

func (m *Message) GetMsgType() uint32

GetMsgType >

func (*Message) GetOptions

func (m *Message) GetOptions() interface{}

GetOptions >

func (*Message) GetSeq

func (m *Message) GetSeq() uint32

GetSeq >

func (*Message) GetUID

func (m *Message) GetUID() uint64

GetUID >

Jump to

Keyboard shortcuts

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