service

package
v0.0.0-...-ae9429c Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func NewVersionBundles

func NewVersionBundles() []versionbundle.Bundle

Types

type Config

type Config struct {
	Logger micrologger.Logger

	Description string
	Flag        *flag.Flag
	GitCommit   string
	Name        string
	Source      string
	Viper       *viper.Viper
}

type Service

type Service struct {
	Healthz *healthz.Service
	Version *version.Service
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Service, error)

func (*Service) Boot

func (s *Service) Boot()

Directories

Path Synopsis
v10
v11
v2
v2/messagecontext
Package messagecontext stores and accesses the message struct in context.Context.
Package messagecontext stores and accesses the message struct in context.Context.
v3
v4
v5
v6
v7
v8
v9

Jump to

Keyboard shortcuts

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