cfg

package
v0.0.0-...-370319b Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APOLLO         = "apollo"
	GRPC           = "grpc"
	SERVER         = "server"
	ROCKETMQ       = "rocketmq"
	XXLJOB         = "xxljob"
	OTLP           = "otlp"
	REGISTRY       = "registry"
	REGISTRY_HTTP  = "registry.gsvcEtcd"
	REGISTRY_GRPC  = "registry.grpcEtcd"
	REDIS          = "redis"
	DATABASE       = "database"
	APPNAME        = "appName"
	JSONFORMATLOGS = "jsonFormatLogs"
	LOGGER         = "logger"
)

Variables

Functions

func Check

func Check(ctx context.Context, parser *gcmd.Parser, apolloIp string)

Types

type CheckLevel

type CheckLevel string
const (
	MustInput        CheckLevel = "MustInput"
	MustInputZero    CheckLevel = "MustInputZero"
	MustInputNotZero CheckLevel = "MustInputNotZero"
	ProposalNotZero  CheckLevel = "ProposalNotZero"
	OptionalInput    CheckLevel = "OptionalInput"
	ProposalZero     CheckLevel = "ProposalZero"
)

type ENV

type ENV string
const (
	PROD ENV = "prod"
	DEV  ENV = "dev"
)

type ExtraKey

type ExtraKey string
const (
	EQ ExtraKey = "EQ"
	NE ExtraKey = "NE"
	GT ExtraKey = "GT"
	GE ExtraKey = "GE"
	LT ExtraKey = "LT"
	LE ExtraKey = "LE"
	IN ExtraKey = "IN"
	NI ExtraKey = "NI"
	CO ExtraKey = "CO"
)

Jump to

Keyboard shortcuts

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