Documentation
¶
Index ¶
Constants ¶
View Source
const HeaderAccessToken = "Platform-Access-Token"
HeaderAccessToken defines the header name of the Platform Access Token.
View Source
const InactiveCloneCheckInterval = time.Minute
InactiveCloneCheckInterval defines an interval for check of idleness sessions.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App defines a application struct.
func NewApp ¶
func NewApp(cfg *config.Config, platformClient *platform.Client, enterprise *features.Pack, sessions storage.PersistentSessionStorage) *App
Creates a new application.
func (*App) SaveSessions ¶
SaveSessions dumps session data to the disk.
type HealthResponse ¶
type HealthResponse struct { Version string `json:"version"` Edition string `json:"edition"` CommunicationTypes []string `json:"communication_types"` }
HealthResponse represents a response for heath-check requests.
Click to show internal directories.
Click to hide internal directories.