server

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package server contains the code for the EliasDB server.

Index

Constants

View Source
const ClusterTermSRC = `` /* 18335-byte string literal not displayed */

ClusterTermSRC is the cluster terminal HTML as a text blob.

View Source
const LoginSRC = `` /* 1824-byte string literal not displayed */

LoginSRC is a simple login page.

View Source
const TermSRC = `` /* 20898-byte string literal not displayed */

TermSRC is the terminal HTML as a text blob.

Variables

View Source
var UserDBPassphrase = ""

UserDBPassphrase is the passphrase which will be used for the user db (only used if access control is enabled)

Functions

func StartServer

func StartServer()

StartServer runs the EliasDB server. The server uses config.Config for all its configuration parameters.

func StartServerWithSingleOp

func StartServerWithSingleOp(singleOperation func(*graph.Manager) bool)

StartServerWithSingleOp runs the EliasDB server. If the singleOperation function is not nil then the server executes the function and exists if the function returns true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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