mm_rpc_model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgReq

type MsgReq struct {
	SessionId string `json:"sessionId"`
	MsgId     int32  `json:"msgId"`
	Data      []byte `json:"data"`
}

type MsgResp

type MsgResp struct {
	SessionId string `json:"sessionId"`
	MsgId     int32  `json:"msgId"`
	Data      []byte `json:"data"`
}

type MultRespCallback

type MultRespCallback func(string, int32, []byte)

type ServerConfig

type ServerConfig struct {
	IP                  string
	Port                int
	SRequestTimeOut     time.Duration
	MRequestTimeOut     time.Duration
	MRStreamTimeOut     time.Duration
	MMultiStreamTimeOut time.Duration
}

Jump to

Keyboard shortcuts

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