server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package server implements the query server for making database queries to otterdb.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	health.ProbeServer
	api.UnimplementedOtterServer
	// contains filtered or unexported fields
}

func New

func New(conf config.ServerConfig) (s *Server, err error)

func (*Server) Run added in v0.2.0

func (s *Server) Run(errc chan<- error, sock net.Listener)

Run the gRPC server on the specified socket. This method can be used to serve TCP requests or to connect to a bufconn for testing purposes. This method blocks while the server is running so it should be run in a go routine.

func (*Server) Serve

func (s *Server) Serve(errc chan<- error) (err error)

func (*Server) Shutdown

func (s *Server) Shutdown() (err error)

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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