daemon

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DaemonURL  string
	Dataset    string
	CommitHash string
}

Config is a structure holding necessary info for interaction with an idv daemon

func NewDaemonConfig

func NewDaemonConfig(daemonURL, dataset, commitHash string) Config

NewDaemonConfig initiates a new daemon configuration with all its necessary information

func NewDaemonConfigFromEnv

func NewDaemonConfigFromEnv() Config

NewDaemonConfigFromEnv uses environment variables to initialize a new DaemonConfig

Jump to

Keyboard shortcuts

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