server

package
v0.0.0-...-982fec7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeServer

func InitializeServer(configFileName string) (server.PGElasticServer, error)

InitializeServer creates an instance of server. Configuration should be loaded from file configFileName

Types

type PGElasticServerProto

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

PGElasticServerProto describes a server runtime instance and its configuration

func (*PGElasticServerProto) GetConfiguration

func (s *PGElasticServerProto) GetConfiguration() utils.PGElasticConfig

GetConfiguration returnes a configuration of the server

func (*PGElasticServerProto) GetDBClient

func (s *PGElasticServerProto) GetDBClient() *db.Client

GetDBClient returnes a DB client of the server

func (*PGElasticServerProto) Start

func (s *PGElasticServerProto) Start()

Start the server

Jump to

Keyboard shortcuts

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