handlers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCHandlerServer

type GRPCHandlerServer struct {
	pb.UnimplementedServiceExampleServer
}

GRPCHandlerServer ...

func NewGRPCHandlerServer

func NewGRPCHandlerServer() *GRPCHandlerServer

NewGRPCHandlerServer ...

func (*GRPCHandlerServer) Echo

Echo ...

func (*GRPCHandlerServer) Health

Health ...

func (*GRPCHandlerServer) Ping

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 ...

Jump to

Keyboard shortcuts

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