server

package
v1.4.4-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(s *RecoveryBackendServer) *mux.Router

func NewSchema

func NewSchema() *client.Schemas

Types

type RecoveryBackendInput

type RecoveryBackendInput struct {
	Hostname string `json:"hostname"`
	Version  string `json:"version"`
}

type RecoveryBackendServer

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

func New

func New(namespace string, ds *datastore.DataStore) *RecoveryBackendServer

func (*RecoveryBackendServer) AddClientID

func (r *RecoveryBackendServer) AddClientID(rw http.ResponseWriter, req *http.Request) error

func (*RecoveryBackendServer) AddRevokeFilehandle

func (r *RecoveryBackendServer) AddRevokeFilehandle(rw http.ResponseWriter, req *http.Request) error

func (*RecoveryBackendServer) Create

func (*RecoveryBackendServer) EndGrace

func (*RecoveryBackendServer) ListenAndServe

func (s *RecoveryBackendServer) ListenAndServe(handler http.Handler) error

func (*RecoveryBackendServer) RecoveryBackendReadClientIDs

func (r *RecoveryBackendServer) RecoveryBackendReadClientIDs(rw http.ResponseWriter, req *http.Request) error

func (*RecoveryBackendServer) RemoveClientID

func (r *RecoveryBackendServer) RemoveClientID(rw http.ResponseWriter, req *http.Request) error

type RecoveryBackendStatus

type RecoveryBackendStatus struct {
	client.Resource
	Hostname string   `json:"hostname"`
	Clients  []string `json:"clients"`
}

Jump to

Keyboard shortcuts

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