Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGatewayConfig ¶
type APIGatewayConfig struct {
Domain string `json:"domain"`
Port int `json:"port"`
MongoURL string `json:"mongo_url"`
DBName string `json:"database_name"`
CookiePath string `json:"cookie_path"`
CookieHTTPOnly bool `json:"cookie_http_only"`
CookieSecure bool `json:"cookie_secure"`
CookieTokenTitle string `json:"cookie_token_title"`
AllowedOrigins []string `json:"allowed_origins"`
TagPreviewLimit int64 `json:"tag_preview_limit"`
SessionRotation bool `json:"session_rotation"`
DefaultMediaPageSize int `json:"default_media_page_size"`
InviteValidity int `json:"invite_validity"`
}
APIGatewayConfig struct that stores every api related settings
type Config ¶
type Config struct {
APIGatewayConfig APIGatewayConfig `json:"api_gateway"`
NodeConfig NodeConfig `json:"node"`
}
Config holds all possible configurations about the framework
Click to show internal directories.
Click to hide internal directories.