grpc

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package grpc provides an implementation of a rest client to interact with the healthcheck service.

Index

Constants

View Source
const (
	EnvNameGrpcAddress string = "BLUDGEON_HEALTHCHECK_GRPC_ADDRESS"
	EnvNameRestPort    string = "BLUDGEON_HEALTHCHECK_GRPC_PORT"
)

environmental variables

View Source
const (
	DefaultPort    string = "9031"
	DefaultAddress string = "localhost"
)

defaults

Variables

This section is empty.

Functions

func New

New can be used to create a concrete instance of the client client that implements the interfaces of logic.Logic and Owner

Types

type Configuration

type Configuration struct {
	*internal_grpc.Configuration
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) Default

func (r *Configuration) Default()

func (*Configuration) FromEnv

func (r *Configuration) FromEnv(envs map[string]string)

func (*Configuration) Validate

func (r *Configuration) Validate() error

Jump to

Keyboard shortcuts

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