config

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 59

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cblogger *logrus.Logger

Functions

func GetConfigString

func GetConfigString(configInfos *CBSTORECONFIG) string

Types

type CBSTORECONFIG

type CBSTORECONFIG struct {
	STORETYPE string // option: NUTSDB | ETCD

	NUTSDB struct {
		DBPATH      string
		SEGMENTSIZE int64
	}

	ETCD struct {
		ETCDSERVERPORT string
	}
}

func GetConfigInfos

func GetConfigInfos() *CBSTORECONFIG

func NewCBSTORECONFIG added in v0.8.1

func NewCBSTORECONFIG() CBSTORECONFIG

Jump to

Keyboard shortcuts

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