config

package
v0.0.0-...-de6d927 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(filepath string) error

Types

type Config

type Config struct {
	Port            string `json:"port"`
	MongoDbName     string `json:"mongo_db_name"`
	MongoURI        string `json:"mongo_uri"`
	KafkaBrokerAddr string `json:"kafka_broker_addr"`
	SqlmapPath      string `json:"sqlmap_path"`
	RedisAddr       string `json:"redis_addr"`
	RedisPassword   string `json:"redis_password"`
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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