common

package
v0.0.0-...-dd73c42 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvConfig

func EnvConfig(env utils.Env, opts EnvConfigOpts)

EnvConfig environment dependent configurations shared between applications

func GetSocketPath

func GetSocketPath() string

GetSocketPath returns the filesystem path to the command socket

Types

type EnvConfigOpts

type EnvConfigOpts struct {
	Name   string
	Path   string
	Prefix string
	Write  func() error
}

EnvConfigOpts are options used for the environment configuration

Jump to

Keyboard shortcuts

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