transport

package
v1.30.1-cluster Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server processes connections from vminsert and vmselect.

func NewServer

func NewServer(vminsertAddr, vmselectAddr string, storage *storage.Storage) (*Server, error)

NewServer returns new Server.

func (*Server) MustClose

func (s *Server) MustClose()

MustClose gracefully closes the server, so it no longer touches s.storage after returning.

func (*Server) RunVMInsert

func (s *Server) RunVMInsert()

RunVMInsert runs a server accepting connections from vminsert.

func (*Server) RunVMSelect

func (s *Server) RunVMSelect()

RunVMSelect runs a server accepting connections from vmselect.

Jump to

Keyboard shortcuts

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