model

package
v0.0.0-...-28782ed Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Link    string            `yaml:"-"`
	Domains map[string]Domain `yaml:"domains"`
}

type Config

type Config struct {
	ActiveDomains map[string]config.ActiveDomain `yaml:"activeDomains"`
}

type Domain

type Domain struct {
	Host string `yaml:"host"`
	Port int    `yaml:"port"`
}

type ServiceTarget

type ServiceTarget struct {
	Url *url.URL
	Rgx *regexp.Regexp
}

Jump to

Keyboard shortcuts

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