Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { Name string Func func(resp http.ResponseWriter, req *http.Request) }
Route defines the path plus handler for a given path
func NewHTTPRoutes ¶
func NewHTTPRoutes(walletExt *walletextension.WalletExtension) []Route
NewHTTPRoutes returns the http specific routes
func NewWSRoutes ¶
func NewWSRoutes(walletExt *walletextension.WalletExtension) []Route
NewWSRoutes returns the WS specific routes
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a wrapper for the http server
func NewHTTPServer ¶
NewHTTPServer returns the HTTP server for the WE
func NewWSServer ¶
NewWSServer returns the WS server for the WE
Click to show internal directories.
Click to hide internal directories.