service

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 5 Imported by: 4

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