options

package
v0.0.0-...-6ef7557 Latest Latest
Warning

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

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

Documentation

Overview

Package options NOTES

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateSvcInstName

func ValidateSvcInstName(name string) error

ValidateSvcInstName validate service instance's name.

Types

type Option

type Option struct {
	Sys *cc.SysOption
	// Name current feed server instance name,is the only one of all feed server.
	Name string
}

Option defines the app's runtime flag options.

func InitOptions

func InitOptions() (*Option, error)

InitOptions init config server's options from command flags.

Jump to

Keyboard shortcuts

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