polaris

package
v0.0.0-...-b2a1d49 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deregister

func Deregister(provider polaris.ProviderAPI, conf *config.Conf) (err error)

func NewPolarisProvider

func NewPolarisProvider(lc fx.Lifecycle, conf *config.Conf) *polaris.ProviderAPI

func Register

func Register(provider polaris.ProviderAPI, conf *config.Conf) (err error)

Types

type PolarisConf

type PolarisConf struct {
	Service    string         `json:"service" yaml:"service"`
	Namespace  string         `json:"namespace" yaml:"namespace"`
	Group      string         `json:"group" yaml:"group"`
	Filename   string         `json:"filename" yaml:"filename"`
	RetryCount *int           `json:"retry_count" yaml:"retry_count"`
	Timeout    *time.Duration `json:"timeout" yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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