Back to

Package handlers

Latest Go to latest

The latest major version is .

Published: Sep 20, 2019 | License: Apache-2.0 | Module:


type GRPCHandlerServer

type GRPCHandlerServer struct {

GRPCHandlerServer ...

func NewGRPCHandlerServer

func NewGRPCHandlerServer() *GRPCHandlerServer

NewGRPCHandlerServer ...

func (*GRPCHandlerServer) Echo

func (s *GRPCHandlerServer) Echo(ctx context.Context, in *pb.GenericData) (*pb.GenericData, error)

Echo ...

func (*GRPCHandlerServer) Health

func (s *GRPCHandlerServer) Health(ctx context.Context, in *pb.HealthRequest) (*pb.HealthReply, error)

Health ...

func (*GRPCHandlerServer) Ping

func (s *GRPCHandlerServer) Ping(ctx context.Context, in *pb.PingRequest) (*pb.PingReply, error)

Ping ...

func (*GRPCHandlerServer) RegisterServer

func (s *GRPCHandlerServer) RegisterServer(grpcServer *grpc.Server)

RegisterServer ...

type HTTPHandlerServer

type HTTPHandlerServer struct{}

HTTPHandlerServer ...

func NewHTTPHandlerServer

func NewHTTPHandlerServer() *HTTPHandlerServer

NewHTTPHandlerServer ...

func (*HTTPHandlerServer) Echo

func (s *HTTPHandlerServer) Echo(ctx echo.Context) (err error)

Echo ...

func (*HTTPHandlerServer) Health

func (s *HTTPHandlerServer) Health(ctx echo.Context) (err error)

Health ...

func (*HTTPHandlerServer) Ping

func (s *HTTPHandlerServer) Ping(ctx echo.Context) (err error)

Ping ...

type HealthData

type HealthData struct {
	Services string `json:"services"`
	Errors   string `json:"errors"`

HealthData ...

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier