utils

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Text = iota + 1
	Base64
)
View Source
const DBURLDNE = "DB URL does not exist !!"
View Source
const RDURLDNE = "RD URL does not exist !!"

Variables

This section is empty.

Functions

func BytesToString added in v0.3.0

func BytesToString(data []byte, encoding int) (string, error)

func CheckDBConnection added in v0.4.2

func CheckDBConnection(ctx context.Context, runtime *sharedpb.SignedRuntimeInfoRequest, connection db.ConnectionUrls) (*sharedpb.RuntimeInfoReport, error)

func RegisterHealthCheckService

func RegisterHealthCheckService(s *grpc.Server)

func StringToBytes added in v0.3.0

func StringToBytes(str string, encoding int) ([]byte, error)

Types

type GrpcHealthServer

type GrpcHealthServer struct{}

func (*GrpcHealthServer) Check

func (*GrpcHealthServer) Watch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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