server

package
v0.0.0-...-027f451 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(server interface{}) (jsonrpc.Server, error)

func ServeHTPP

func ServeHTPP(server interface{}) (*transport.HTTPServer, error)

ServeHTPP create http server

func ServeWebSocket

func ServeWebSocket(server interface{}) (*transport.WebSocketServer, error)

ServeWebSocket create websocket server

Types

This section is empty.

Jump to

Keyboard shortcuts

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