Documentation
¶
Index ¶
Constants ¶
View Source
const HRManagerRoleKey = "HRManager"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer is able to render HTML templates. Templates will be compiled the first time they are requested, and cached thereafter.
type SessionData ¶ added in v0.9.0
type SessionData struct {
Employee *model.Employee `json:"employee"`
Roles []string `json:"roles"`
}
SessionData is an additional data struct. Its purpose is to store data in a session cookie in order to avoid repetitive Odoo API calls.
Click to show internal directories.
Click to hide internal directories.