server

package
v0.0.0-...-d1e0794 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 11 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 for grpc

func New

func New(cfg *config.Config) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(cfg *config.Config) error

func (*Server) ServeHTTP

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

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) UpdateDeployStatus

func (s *Server) UpdateDeployStatus(ctx context.Context, status *pb.DeployStatus) (*pb.Reply, error)

Jump to

Keyboard shortcuts

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