server

package
v0.0.0-...-adab437 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION_HEADER = "BUILD_VERSION"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadLinks struct {
	Mac     string `json:"mac"`
	Linux   string `json:"linux"`
	Windows string `json:"windows"`
}

DownloadLinks type

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server type

func NewServer

func NewServer(
	bp, rp string,
	imagesGetter imagesGetter,
	logger *log.Logger,
	debug bool,
) *Server

NewServer creates new server

func (*Server) Listen

func (s *Server) Listen() *chi.Mux

Jump to

Keyboard shortcuts

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