server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var USER_AGENT = "User-Agent"

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	CloudBackup *backup.CloudBackup
	Crypto      *crypto.Crypto
	Database    *database.Database
	Mux         *http.ServeMux
}

type HttpServer

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

func Initialize

func Initialize(config Configuration) *HttpServer

Initialize an HTTP server.

func (*HttpServer) Backup added in v0.10.0

func (*HttpServer) CreateSecret added in v0.10.0

func (*HttpServer) DeleteSecret added in v0.10.0

func (*HttpServer) GetSecret added in v0.10.0

func (*HttpServer) ListSecrets added in v0.10.0

func (*HttpServer) RevertSecret added in v0.10.0

func (*HttpServer) UpdateSecret added in v0.10.0

Jump to

Keyboard shortcuts

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