Documentation ¶
Overview ¶
Package web provides support for http protocol by default, provides rpc server with http protocol, and provides rpc database for calling http protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultServerCodec is the default http server codec. DefaultServerCodec = &ServerCodec{} )
View Source
var DefaultWebTransport = NewWebTransport()
DefaultWebTransport default server http client.
Functions ¶
func NewWebTransport ¶
NewWebTransport create a new web transport.
Types ¶
type ServerCodec ¶
type ServerCodec struct{}
ServerCodec http server side decoder.
Click to show internal directories.
Click to hide internal directories.