Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_CALIDUM_ROTAE_SERVICE_API_KEY = "CALIDUM_ROTAE_SERVICE_API_KEY" CALIDUM_ROTAE_TRACER_NAME = "calidum-rotae-tracer" EMAIL_POST_REQUEST = "/email" DISCORD_POST_REQUEST = "/discord" DEFAULT_POST_REQUEST = "/" DISCORD_RPC_FUNC = "SendDiscordRpcRequest" EMAIL_RPC_FUNC = "SendEmailRpcRequest" DISCORD_END_OF_SPAN = "Discord message sent!" EMAIL_END_OF_SPAN = "Email sent!" OK_SPAN = "HTTP request sent!" )
Variables ¶
This section is empty.
Functions ¶
func CorsOriginFilter ¶
func InitHTTPServerFromViper ¶
func InitHTTPServerFromViper(ctx context.Context, v *viper.Viper, services calidum.CalidumClient) (*serverutils.HttpServer, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.