server

package
v0.0.0-...-fd533df Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT 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 {
	// contains filtered or unexported fields
}

Server - an http server

func Create

func Create(dbConn *storage.Connection, logger *logrus.Logger, shutdownChan *chan string, client *http.Client, timeout int) Server

Bootstrap - share a pointer to a SQL DB storage struct with this server

func (*Server) Serve

func (s *Server) Serve() error

Serve will start up the http server

Jump to

Keyboard shortcuts

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