tr

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain string

func (Domain) Root

func (d Domain) Root() (string, error)

func (Domain) String

func (d Domain) String() string

type Traefik

type Traefik struct {
	URL string
}

func NewTraefik

func NewTraefik(traefikURL string) (*Traefik, error)

func (*Traefik) GetDomains

func (t *Traefik) GetDomains() ([]Domain, error)

func (*Traefik) GetVersion

func (t *Traefik) GetVersion() (*TraefikVersion, error)

type TraefikRouter

type TraefikRouter struct {
	Name    string `json:"service"`
	RuleStr string `json:"rule"`
	Status  string `json:"status"`
}

type TraefikVersion

type TraefikVersion struct {
	Version  string `json:"Version"`
	Codename string `json:"Codename"`
}

Jump to

Keyboard shortcuts

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