server

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 33 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 struct initialized with port

func NewServer

func NewServer(port int, db kv.DB, c *cache.Cache, pg *postgres.Pg) *Server

NewServer singleton pattern that returns pointer to server

func (*Server) Listen

func (s *Server) Listen()

Listen initializes the echo webserver

Jump to

Keyboard shortcuts

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