Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var APIVersion = "1.0"
APIVersion is route api version. See also routes and routers \todo: Add support for multiple versions.
var DefaultEmailRecipients []string
DefaultEmailRecipients is the default recipient when sending emails. It is set using IGN_DEFAULT_EMAIL_RECIPIENT env var.
var DefaultEmailSender string
DefaultEmailSender is the default sender to use when sending emails. It is set using IGN_DEFAULT_EMAIL_SENDER env var.
var DisableScoreGeneration = false
DisableScoreGeneration defines if cloud should generate score for simulations TODO This should probably be placed in the service configuration
var DisableSummaryEmails = false
DisableSummaryEmails defines if cloudsim should send summary emails TODO This should probably be placed in the service configuration
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
var Permissions *permissions.Permissions
Permissions manages permissions for users, roles and resources.
var Server *ign.Server
Server encapsulates database, router, and auth0
var TransportTestMock *ignws.PubSubTransporterMock
TransportTestMock holds a reference to the mock for the transport layer.
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.
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.