Documentation ¶
Index ¶
- func NewWSServer(allowedOrigins []string, srv *rpc.Server) *http.Serverdeprecated
- func StartHTTPEndpoint(endpoint string, apis []rpc.API, modules []string, cors []string, ...) (*rpc.Server, error)
- func StartIPCEndpoint(ipcEndpoint string, apis []rpc.API) (net.Listener, *rpc.Server, error)
- func StartWSEndpoint(endpoint string, apis []rpc.API, modules []string, wsOrigins []string) (net.Listener, *rpc.Server, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartHTTPEndpoint ¶
func StartHTTPEndpoint(endpoint string, apis []rpc.API, modules []string, cors []string, vhosts []string, timeouts rpc.HTTPTimeouts) (*rpc.Server, error)
StartHTTPEndpoint starts the HTTP RPC endpoint, configured with cors/vhosts/modules.
func StartIPCEndpoint ¶
StartIPCEndpoint starts an IPC endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.