Documentation ¶
Index ¶
- func Start(config *Config, stopCh <-chan struct{})
- type Config
- type Server
- func (s *Server) CreateContact(ctx context.Context, req *pb.ContactReqResp) (*pb.ContactReqResp, error)
- func (s *Server) ReapContact(ctx context.Context, req *pb.ContactReqResp) (*pb.ContactReqResp, error)
- func (f *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (ctl *Server) WebsocketHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
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) 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 |
Click to show internal directories.
Click to hide internal directories.