Documentation ¶
Overview ¶
Package server provides the Katzenpost server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrGenerateOnly = errors.New("server: GenerateOnly set")
ErrGenerateOnly is the error returned when the server initialization terminates due to the `GenerateOnly` debug config option.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a Katzenpost server instance.
func (*Server) IdentityKey ¶
IdentityKey returns the running server's identity public key.
func (*Server) RotateLog ¶ added in v0.0.2
func (s *Server) RotateLog()
RotateLog rotates the log file if logging to a file is enabled.
Directories ¶
Path | Synopsis |
---|---|
Package cborplugin is a plugin system allowing mix network services to be added in any language.
|
Package cborplugin is a plugin system allowing mix network services to be added in any language. |
cmd
|
|
Package config provides the Katzenpost server configuration.
|
Package config provides the Katzenpost server configuration. |
internal
|
|
constants
Package constants defines internal constants for the Katzenpost server.
|
Package constants defines internal constants for the Katzenpost server. |
cryptoworker
Package cryptoworker implements the Katzenpost Sphinx crypto worker.
|
Package cryptoworker implements the Katzenpost Sphinx crypto worker. |
debug
Package debug implements useful helper routines to aid debugging.
|
Package debug implements useful helper routines to aid debugging. |
decoy
Package decoy implements the decoy traffic source and sink.
|
Package decoy implements the decoy traffic source and sink. |
glue
Package glue implements the glue structure that ties all the internal subpackages together.
|
Package glue implements the glue structure that ties all the internal subpackages together. |
incoming
Package incoming implements the incoming connection support.
|
Package incoming implements the incoming connection support. |
mixkey
Package mixkey provides persistent mix keys and associated utilities.
|
Package mixkey provides persistent mix keys and associated utilities. |
outgoing
Package outgoing implements the outgoing connection support.
|
Package outgoing implements the outgoing connection support. |
packet
Package packet implements the Katzenpost server side packet structure.
|
Package packet implements the Katzenpost server side packet structure. |
pki
Package pki implements the server PKI handler.
|
Package pki implements the server PKI handler. |
pkicache
Package pkicache provides a rudimentary cached representation of a PKI Document suitable for server use.
|
Package pkicache provides a rudimentary cached representation of a PKI Document suitable for server use. |
provider
Package provider implements the Katzenpost sever provider.
|
Package provider implements the Katzenpost sever provider. |
provider/kaetzchen
Package kaetzchen implements support for provider side auto-responder agents.
|
Package kaetzchen implements support for provider side auto-responder agents. |
scheduler
Package scheduler implements the Katzenpost server scheduler.
|
Package scheduler implements the Katzenpost server scheduler. |
sqldb
Package sqldb interfaces the Katzenpost server with a SQL database.
|
Package sqldb interfaces the Katzenpost server with a SQL database. |
Package provides registration protocol constants
|
Package provides registration protocol constants |
Package spool defines the Katzenpost server user message spool abstract interface.
|
Package spool defines the Katzenpost server user message spool abstract interface. |
boltspool
Package boltspool implements the Katzenpost server user message spool with a simple boltdb based backend.
|
Package boltspool implements the Katzenpost server user message spool with a simple boltdb based backend. |
Package userdb defines the Katzenpost server user database abstract interface.
|
Package userdb defines the Katzenpost server user database abstract interface. |
boltuserdb
Package boltuserdb implements the Katzenpost server user database with a simple boltdb based backend.
|
Package boltuserdb implements the Katzenpost server user database with a simple boltdb based backend. |
externuserdb
Package externuserdb implements the Katzenpost server user database with http calls to a external authorization source (expected to run in localhost).
|
Package externuserdb implements the Katzenpost server user database with http calls to a external authorization source (expected to run in localhost). |
Click to show internal directories.
Click to hide internal directories.