config

package
v0.0.0-...-4722df8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package config xxx

Index

Constants

View Source
const (
	// IpvsConfigFileName xxx
	IpvsConfigFileName = "ipvsConfig.yaml"
)

Variables

This section is empty.

Functions

func WriteIpvsConfig

func WriteIpvsConfig(dir string, config IpvsConfig) error

WriteIpvsConfig xxx

Types

type IpvsConfig

type IpvsConfig struct {
	Scheduler     string   `json:"scheduler"`
	VirtualServer string   `json:"vs"`
	RealServer    []string `json:"rs"`
}

IpvsConfig xxx

func ReadIpvsConfig

func ReadIpvsConfig(dir string) (*IpvsConfig, error)

ReadIpvsConfig xxx

Jump to

Keyboard shortcuts

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