conn

package
v0.4.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(ctx context.Context, req Request, resp Response)

type Request

type Request interface {
	Arguments() []interface{}
}

type Response

type Response interface {
	Send(io.ReadCloser, error) error

	Write(p []byte) (n int, err error)
}

type WsConn

type WsConn interface {
	Attach(string, Handler)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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