endpoint

package
v0.0.0-...-1d00dcf Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckResponse

type HealthCheckResponse struct {
	Status string `json:"status"`
}

HealthCheckResponse has fields with healthcheck status

type HealthCheckServicer

type HealthCheckServicer interface {
	Run(context.Context, interface{}) (interface{}, error)
}

HealthCheckServicer provides functions for performing component healthcheck

func NewHealthCheck

func NewHealthCheck(c *config.Configuration) HealthCheckServicer

NewHealthCheck creates a new healthcheck

type MessageWriter

type MessageWriter interface {
	Run(context.Context, interface{}) (interface{}, error)
}

MessageWriter provides functions for writing messages to storage

func NewMessageWriter

func NewMessageWriter(c *config.Configuration) MessageWriter

NewMessageWriter creates a new healthcheck

Jump to

Keyboard shortcuts

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