api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: GPL-3.0 Imports: 11 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(log logr.Logger, listen, socket string, db *db.DB) (*Server, error)

NewHTTPServer returns a new HTTPServer

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context)

Stop stops listening for incoming connections and closes currently open connections

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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