config

package
v0.0.0-...-f60092b Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnionBalanceConfigForService

func OnionBalanceConfigForService(onion *v1alpha2.OnionBalancedService) (string, error)

Types

type Config

type Config struct {
	Services []Service `yaml:"services"`
}

type Instance

type Instance struct {
	Name    string `yaml:"name"`
	Address string `yaml:"address"`
}

type Service

type Service struct {
	Instances []Instance `yaml:"instances"`
	Key       string     `yaml:"key"`
}

Jump to

Keyboard shortcuts

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