enums

package
v0.10.7-gamma Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP_NAME = "APP_NAME"
	ENV      = "ENV"
	PORT     = "PORT"
	TIMEZONE = "TIMEZONE"
)
View Source
const (
	DEV        = "DEV"
	PRODUCTION = "PRODUCTION"
)
View Source
const (
	DEBUG      = "DEBUG"
	VERSION    = "VERSION"
	COMMIT_SHA = "COMMIT_SHA"

	RELEASE_URL = "RELEASE_URL"
)
View Source
const (
	APP_LOG_FILE_FORMAT = "APP_LOG_FILE_FORMAT"
	STD_REPO_URI        = "STD_REPO_URI"

	STD_MODULE_PREFIX = "STD_MODULE_PREFIX"

	STD_MODULE_FORMAT = STD_REPO_URI + STD_MODULE_PREFIX + "-%s"
)
View Source
const (
	APP_DIR        = "app_dir"
	APP_DATA_DIR   = "app-data-dir"
	APP_PLUGIN_DIR = "app-plugin-dir"
)
View Source
const (
	DEALER      = "dealer"
	DEALER_PATH = "dealer-path"
)
View Source
const (
	HIVE_CONTROLLER = "hive_controller"
	HIVE_PAYMENTS   = "HIVE_PAYMENT"

	HIVE_STORAGE = "HIVE_STORAGE"
	HIVE_USERS   = "HIVE_USERS"

	HIVE_TOKEN = "HIVE_TOKEN"

	HIVE_MEDIATION = "HIVE_MEDIATION"

	HIVE_JOBCREATOR = "HIVE_JOBCREATOR"

	HIVE_SOLVER = "HIVE_SOLVER"
)
View Source
const (
	WEB3_RPC_URL     = "WEB3_RPC_URL"
	WEB3_PRIVATE_KEY = "web3_private_key"

	HIVE_PRIVATE_KEY = "HIVE_PRIVATE_KEY"
	WEB3_CHAIN_ID    = "WEB3_CHAIN_ID"
)
View Source
const (
	RP_PRIVATE_KEY       = "RP_PRIVATE_KEY"
	JC_PRIVATE_KEY       = "JC_PRIVATE_KEY"
	SOLVER_PRIVATE_KEY   = "SOLVER_PRIVATE_KEY"
	MEDIATOR_PRIVATE_KEY = "MEDIATOR_PRIVATE_KEY"
)
View Source
const (
	SERVER_URL  = "server_url"
	SERVER_HOST = "server_host"
	SERVER_PORT = "server_port"
)

Solver

View Source
const (
	OFFER_CPU   = "OFFER_CPU"
	OFFER_GPU   = "OFFER_GPU"
	OFFER_RAM   = "OFFER_RAM"
	OFFER_COUNT = "OFFER_COUNT"

	OFFER_MODULES = "OFFER_MODULES"
)
View Source
const (
	MODULE_NAME = "MODULE_NAME"
	MODULE_REPO = "MODULE_REPO"
	MODULE_HASH = "MODULE_HASH"
	MODULE_PATH = "MODULE_PATH"
)
View Source
const (
	BACALHAU_API_HOST = "BACALHAU_API_HOST"
)
View Source
const (
	JOBCREATOR_OPTION_INPUT = "i"
)
View Source
const (
	MODE = "MODE"
)
View Source
const (
	NETWORK = "network"
)
View Source
const PRICING_MODE = "PRICING_MODE"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceType added in v0.10.7

type ServiceType int
const (
	JC ServiceType = iota
	RP

	SOLVER
	MEDIATOR
)

func (ServiceType) GetPrivateKeyEnum added in v0.10.7

func (s ServiceType) GetPrivateKeyEnum() string

GetPrivateKeyEnum returns the enum associated with retrieving the private key for the service

func (ServiceType) String added in v0.10.7

func (i ServiceType) String() string

Jump to

Keyboard shortcuts

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