api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

func NewApi

func NewApi(config *Config, storage storage.PersistentStorage, hs *homeserver.Homeserver) (*Api, error)

func (*Api) BindTo

func (a *Api) BindTo(mux *http.ServeMux) error

type Config

type Config struct {
	// Optional. If empty, the policyserv API will be disabled.
	ApiKey        string
	JoinViaServer string
}

Jump to

Keyboard shortcuts

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