server

package
v0.0.0-...-8d90134 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT 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
}

func NewServer

func NewServer(listen string, version string, backend base.EventStream) *Server

func (*Server) HandleConn

func (s *Server) HandleConn(ctx context.Context, st stats.ConnStats)

func (*Server) HandleRPC

func (s *Server) HandleRPC(ctx context.Context, st stats.RPCStats)

func (*Server) Start

func (s *Server) Start() error

func (*Server) TagConn

func (s *Server) TagConn(ctx context.Context, i *stats.ConnTagInfo) context.Context

func (*Server) TagRPC

func (s *Server) TagRPC(ctx context.Context, i *stats.RPCTagInfo) context.Context

Jump to

Keyboard shortcuts

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