server

package
v0.0.0-...-e70fc09 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(config *Config, stopCh <-chan struct{})

Types

type Config

type Config struct {
	Common *config.Config

	HBase hbase.Config
}

type Server

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

func (*Server) CreateContact

func (s *Server) CreateContact(ctx context.Context, req *pb.ContactReqResp) (*pb.ContactReqResp, error)

func (*Server) ReapContact

func (s *Server) ReapContact(ctx context.Context, req *pb.ContactReqResp) (*pb.ContactReqResp, error)

func (*Server) ServeHTTP

func (f *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Server) WebsocketHandler

func (ctl *Server) WebsocketHandler(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
Inspired by: - https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go
Inspired by: - https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go

Jump to

Keyboard shortcuts

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