admin

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoConfig = errors.New(
		"kerberos administration API is using default settings, this is NOT safe for production",
	)
)

Functions

func RegisterWith

func RegisterWith(cfg config.Map) (string, error)

Types

type Admin

type Admin struct {
	SessionMiddleware adminapigen.StrictMiddlewareFunc
	// contains filtered or unexported fields
}

func New

func New(opts *Opts) *Admin

Runs the administration API.

func (*Admin) SetComposer

func (a *Admin) SetComposer(c composer.Composer)

type Opts

type Opts struct {
	Mux *http.ServeMux
	DB  db.SQLClient

	OASDir string

	Cfg config.Map
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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