server

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	BaseURL    string
	PathPrefix string
	APIKey     []byte
	Passphrase string
	Version    string
	Config     config.Config
}

type Server

type Server struct {
	Port       int
	Hostname   string
	Params     Params
	PathPrefix string
	Password   string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(conf config.Config) *Server

func (*Server) Listen

func (s *Server) Listen(tracker *indexer.Facade) error

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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