config

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	rest.RestConf
	DB struct {
		DataSource string
	}
	Redis               redis.RedisConf
	Cache               cache.CacheConf
	LogConf             logx.LogConf
	K8sNativeConf       zrpc.RpcClientConf
	ACRpcConf           zrpc.RpcClientConf
	THRpcConf           zrpc.RpcClientConf
	ModelArtsRpcConf    zrpc.RpcClientConf
	ModelArtsImgRpcConf zrpc.RpcClientConf
	CephRpcConf         zrpc.RpcClientConf
	OpenstackRpcConf    zrpc.RpcClientConf
	OctopusRpcConf      zrpc.RpcClientConf
	PcmCoreRpcConf      zrpc.RpcClientConf
	JccScheduleUrl      string
	MinioConf           struct {
		Secret    string
		AccessKey string
		Endpoint  string
	}

	RegistryConf struct {
		Username string
		Password string
	}
	SnowflakeConf SnowflakeConf
}

type SnowflakeConf added in v0.1.8

type SnowflakeConf struct {
	MachineId int64 `json:"machineId"`
}

SnowflakeConf 雪花算法机器id配置

Jump to

Keyboard shortcuts

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