test

package
v0.0.0-...-799f385 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry1

type Entry1 struct {
	api.APIEntry
}

func (*Entry1) Echo

func (self *Entry1) Echo(msg *InMsg, cbFunc api.HandlerCBFunc) error

func (*Entry1) Error

func (self *Entry1) Error(msg *InMsg, cbFunc api.HandlerCBFunc) error

错误返回流程

func (*Entry1) Join

func (self *Entry1) Join(msg *InMsg, cbFunc api.HandlerCBFunc) error

func (*Entry1) Panic

func (self *Entry1) Panic(msg *InMsg, cbFunc api.HandlerCBFunc) error

type InMsg

type InMsg struct {
	Abc string `json:"abc"`
}

用于做一些测试的结构

type OutMsg

type OutMsg struct {
	Def string `json:"def"`
}

Jump to

Keyboard shortcuts

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