server

package
v0.0.0-...-54b0228 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 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 Cli

type Cli struct {
}

type ConfigServer

type ConfigServer struct {
	Database *database.ConfigDatabase
}

type Server

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

func NewServer

func NewServer(config *ConfigServer) *Server

func (*Server) Init

func (s *Server) Init(ctx context.Context) error

func (*Server) Run

func (s *Server) Run(address string) error

func (*Server) SetVersion

func (s *Server) SetVersion(version string)

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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