tjson

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 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 Login

type Login struct {
	UserName string
	PassWord string
}

type Processor

type Processor struct {
}

func NewProcessor

func NewProcessor() *Processor

func (*Processor) Marshal

func (p *Processor) Marshal(msg interface{}) (*common.TWSData, error)

func (*Processor) Route

func (p *Processor) Route(msg interface{}, userData interface{}) error

func (*Processor) Unmarshal

func (p *Processor) Unmarshal(data []byte) (interface{}, error)

func (*Processor) UnmarshalMul

func (p *Processor) UnmarshalMul(nType int, data []byte) (interface{}, error)

func (*Processor) UsePacketMode

func (p *Processor) UsePacketMode() bool

Jump to

Keyboard shortcuts

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