ops

package
v0.0.0-...-a193200 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec

type Spec struct {
	Host string `yaml:"host"`
	Port uint16 `yaml:"port"`
}

Spec defines the configuration relevant to the Ops server (used for profilers, tracing, etc).

func (*Spec) Validate

func (s *Spec) Validate() error

Validate checks that the values defined in the Spec config are valid.

Jump to

Keyboard shortcuts

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