service

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRetryCount = 5
	DefaultTimeout    = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger micrologger.Logger

	Description string
	GitCommit   string
	Name        string
	Source      string
	Version     string
}

type Service

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

func New

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

Jump to

Keyboard shortcuts

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