Documentation ¶
Overview ¶
Package rpcexplorer contains complied RPC Explorer web app.
Linking to this package will add ~1MB to your binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(r *router.Router, auth AuthMethod)
Install adds routes to serve RPC Explorer web app from "/rpcexplorer".
If auth is nil, a default config will be used which attempts to use the server's frontend OAuth client ID in a Javascript-based login flow.
Types ¶
type AuthMethod ¶
type AuthMethod interface { auth.UsersAPI auth.HasStateEndpoint }
AuthMethod implements an authentication method that RPC Explorer will use.
RPC Explorer needs login/logout URLs and a state endpoint that serves tokens.
Click to show internal directories.
Click to hide internal directories.