api

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version      string = "dev"
	ErrForbidden        = langs.Error{Code: 10000, Msg: "forbidden"}
)

Functions

This section is empty.

Types

type ApiV1

type ApiV1 struct {
	Config    config.Config
	Auth      *auth.Authenticator
	PeerStore types.PeerStore
	Grant     oidc.Grant
	// contains filtered or unexported fields
}

func (*ApiV1) ServeHTTP

func (a *ApiV1) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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