proto

package
v0.0.0-...-8e6527b Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(b json.RawMessage, timeout time.Duration) (gonet.Handler, error)

NewHandler is ...

func RegisterNewHandlerFunc

func RegisterNewHandlerFunc(proto string, fn NewHandlerFunc)

RegisterNewHandlerFunc is ... register a new protocol scheme

Types

type NewHandlerFunc

type NewHandlerFunc func(json.RawMessage, time.Duration) (gonet.Handler, error)

NewHandlerFunc is ... give a handler for a protocol scheme

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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