Documentation
¶
Index ¶
- Constants
- type Cache
- func (c *Cache) Close() error
- func (c *Cache) PrioritiesGet() ([]Priority, error)
- func (c *Cache) PrioritiesGetLocale(lang string) ([]PriorityLocale, error)
- func (c *Cache) PriorityGetByID(id int64) (Priority, error)
- func (c *Cache) PriorityGetByIDLocale(id int64, lang string) (PriorityLocale, error)
- func (c *Cache) PriorityGetDefault() (Priority, error)
- func (c *Cache) PriorityGetDefaultLocale(lang string) (PriorityLocale, error)
- func (c *Cache) ProjectsFilterActive(projects []misc.IDName) ([]misc.IDName, error)
- func (c *Cache) Update() error
- func (c *Cache) UserGet(id int64) (redis.User, error)
- type Priority
- type PriorityLocale
- type Project
- type Settings
Constants ¶
View Source
const PriorityLangDefault = "default"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache it is a module context structure
func (*Cache) PrioritiesGet ¶
func (*Cache) PrioritiesGetLocale ¶ added in v1.4.0
func (c *Cache) PrioritiesGetLocale(lang string) ([]PriorityLocale, error)
func (*Cache) PriorityGetByID ¶
PriorityGetByID gets priority by specified ID from cache (Redmine)
func (*Cache) PriorityGetByIDLocale ¶ added in v1.4.0
func (c *Cache) PriorityGetByIDLocale(id int64, lang string) (PriorityLocale, error)
func (*Cache) PriorityGetDefault ¶
PriorityGetDefault gets default priority from cache (Redmine)
func (*Cache) PriorityGetDefaultLocale ¶ added in v1.4.0
func (c *Cache) PriorityGetDefaultLocale(lang string) (PriorityLocale, error)
func (*Cache) ProjectsFilterActive ¶
type Priority ¶
func (Priority) NameLocale ¶ added in v1.4.0
type PriorityLocale ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.