tests

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Echo1

func Echo1(in echo1Args, headers *http.Header) (out struct {
	In      echo1Args
	Headers struct{ Cid string }
})

func Echo2

func Echo2(req *http.Request, in echo2Args) echo2Args

func Echo3

func Echo3(res http.ResponseWriter, in struct {
	Name string
}, req *http.Request) []string

func Echo4

func Echo4(in s.Map) s.Map

func EchoDecoder

func EchoDecoder(srcData interface{}) (string, *map[string]interface{}, error)

func EchoEncoder

func EchoEncoder(action string, data interface{}) interface{}

func OnEchoClose

func OnEchoClose(client *websocket.Conn, sess *echoWsSession)

func OnEchoMessage

func OnEchoMessage(in struct {
	Action string
	Age    int
}, client *websocket.Conn, sess *echoWsSession) (string, *echoAgeData)

func OnEchoOpen

func OnEchoOpen(in struct {
	Token  string
	RoomId int
}, client *websocket.Conn) *echoWsSession

Types

This section is empty.

Jump to

Keyboard shortcuts

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