rpcexplorer

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Directories

Path Synopsis
Package internal is generated by go.chromium.org/luci/tools/cmd/assets.
Package internal is generated by go.chromium.org/luci/tools/cmd/assets.

Jump to

Keyboard shortcuts

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