server

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort int = 40000
)

Variables

View Source
var (
	// ErrInvalidInput required input was not found
	ErrInvalidInput = errors.New("required input was not found")

	// ErrRabbitMgrNil the rabbit manager has not been initialized
	ErrRabbitMgrNil = errors.New("the rabbit manager has not been initialized")
)

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	ConnectionStr string
	Username      string
	Password      string
}

Credentials is the input needed to login to neo4j

type Server

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

func New

func New(options ServerOptions) (*Server, error)

func (*Server) Init

func (s *Server) Init() error

func (*Server) RebuildDatabase

func (s *Server) RebuildDatabase() error

func (*Server) RebuildRealtimeAnalyzer

func (s *Server) RebuildRealtimeAnalyzer() error

func (*Server) RebuildSymblClient

func (s *Server) RebuildSymblClient() error

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

type ServerOptions

type ServerOptions struct {
	CrtFile     string
	KeyFile     string
	BindAddress string
	BindPort    int
	RabbitURI   string
}

ServerOptions for the main HTTP endpoint

Jump to

Keyboard shortcuts

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