api

package
v0.0.0-...-4c5efe1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Data *types.ContextData
	// contains filtered or unexported fields
}

Server is the webapp and api server

func NewServer

func NewServer(c *config.Config, log logr.Logger) (*Server, error)

NewHTTPServer returns a new HTTPServer

func (*Server) Stop

func (s *Server) Stop()

Stop stops listening for incoming connections and closes currently open connections

func (*Server) UpdateDB

func (s *Server) UpdateDB(kvdb *db.DB, leader bool) error

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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