Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ENV_ ¶
type ENV_ struct { PORT string API_URL string API_TOKEN string BLOCKED_ENDPOINTS []string VARIABLES map[string]any MESSAGE_ALIASES []middlewares.MessageAlias }
var ENV ENV_ = ENV_{ BLOCKED_ENDPOINTS: []string{ "/v1/about", "/v1/configuration", "/v1/devices", "/v1/register", "/v1/unregister", "/v1/qrcodelink", "/v1/accounts", "/v1/contacts", }, VARIABLES: map[string]any{ "RECIPIENTS": []string{}, "NUMBER": os.Getenv("SENDER"), }, MESSAGE_ALIASES: []middlewares.MessageAlias{ { Alias: "msg", Priority: 100, }, { Alias: "content", Priority: 99, }, { Alias: "description", Priority: 98, }, { Alias: "text", Priority: 20, }, { Alias: "body", Priority: 15, }, { Alias: "summary", Priority: 10, }, { Alias: "details", Priority: 9, }, { Alias: "payload", Priority: 2, }, { Alias: "data", Priority: 1, }, }, }
Click to show internal directories.
Click to hide internal directories.