globals

package
v0.0.0-...-70b330c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIVersion = "1.0"

APIVersion is route api version. See also routes and routers \todo: Add support for multiple versions.

View Source
var DefaultEmailRecipients []string

DefaultEmailRecipients is the default recipient when sending emails. It is set using IGN_DEFAULT_EMAIL_RECIPIENT env var.

View Source
var DefaultEmailSender string

DefaultEmailSender is the default sender to use when sending emails. It is set using IGN_DEFAULT_EMAIL_SENDER env var.

View Source
var DisableScoreGeneration = false

DisableScoreGeneration defines if cloud should generate score for simulations TODO This should probably be placed in the service configuration

View Source
var DisableSummaryEmails = false

DisableSummaryEmails defines if cloudsim should send summary emails TODO This should probably be placed in the service configuration

View Source
var FormDecoder *form.Decoder

FormDecoder holds a reference to the global Form Decoder. See https://github.com/go-playground/form. We use a single instance of Decoder, as it caches struct info

Permissions manages permissions for users, roles and resources.

View Source
var Server *ign.Server

Server encapsulates database, router, and auth0

View Source
var TransportTestMock *ignws.PubSubTransporterMock

TransportTestMock holds a reference to the mock for the transport layer.

View Source
var UserAccessor useracc.Service

UserAccessor holds a reference to the UserAccessor. A proxy to ign-fuel's Users library Dev note: code should not use this from globals. Instead configure your logic with arguments in the constructors.

View Source
var Validate *validator.Validate

Validate references the global structs validator. See https://github.com/go-playground/validator. We use a single instance of validator, as it caches struct info

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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