config

package
v0.0.0-...-449852d Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Erlang application config
	Version     = "0.0.1"
	AppName     = "go-space"
	Description = "Space node written in go to handle 間 functionality."

	// Package internal config
	VaultAddr  string = env.Get("GO_space_VAULT_ADDR", "http://localhost:8200")
	VaultToken string = env.Get("GO_space_VAULT_TOKEN", "space")

	// Global config
	LogLevel      string = env.Get("GO_space_LOG_LEVEL", "error")
	SpaceNodeName string = env.Get("GO_space_space_NODE_NAME", "space@localhost")
	NodeCookie    string = env.Get("GO_space_NODE_COOKIE", "space")
	NodeName      string = env.Get("GO_space_NODE_NAME", "pubsub@localhost")
	Rendezvous    string = env.Get("GO_space_RENDEZVOUS", "space")
	Secret        string = env.Get("GO_space_P2P_IDENTITY", "")
	ServiceName   string = env.Get("GO_space_SERVICE_NAME", "space")
)

Functions

func Init

func Init(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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