service

package
v0.0.0-...-925d661 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPath = "/metrics"
)

Variables

This section is empty.

Functions

func NewService

func NewService(addr string, opts ...Option) (service.Service, error)

Types

type Option

type Option func(*options)

func AutherOption

func AutherOption(auther auth.Authenticator) Option

func PathOption

func PathOption(path string) Option

Jump to

Keyboard shortcuts

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