Documentation
¶
Index ¶
- func DeleteSpace(id string)
- func DeleteTemplate(templateId string)
- func DeleteTemplateVar(id string)
- func DeleteToken(id string)
- func DeleteUser(id string)
- func Unregister(id string)
- func UpdateSpace(space *model.Space)
- func UpdateTemplate(template *model.Template)
- func UpdateTemplateVar(templateVar *model.TemplateVar)
- func UpdateUser(user *model.User)
- type Session
- func (s *Session) Bootstrap()
- func (s *Session) DeleteSpace(id string)
- func (s *Session) DeleteTemplate(templateId string)
- func (s *Session) DeleteTemplateVar(id string)
- func (s *Session) DeleteToken(id string)
- func (s *Session) DeleteUser(id string)
- func (s *Session) Ping()
- func (s *Session) UpdateSpace(space *model.Space) bool
- func (s *Session) UpdateTemplate(template *model.Template)
- func (s *Session) UpdateTemplateVar(templateVar *model.TemplateVar) bool
- func (s *Session) UpdateUser(user *model.User)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTemplateVar ¶
func DeleteTemplateVar(id string)
delete the template var on all leaf nodes
func Unregister ¶
func Unregister(id string)
func UpdateTemplate ¶
update the template on all leaf nodes
func UpdateTemplateVar ¶
func UpdateTemplateVar(templateVar *model.TemplateVar)
update the template var on all leaf nodes
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) DeleteSpace ¶
delete the space on a leaf node
func (*Session) DeleteTemplate ¶
delete the template on a leaf node
func (*Session) DeleteTemplateVar ¶
delete the template var on a leaf node
func (*Session) DeleteToken ¶
delete the space on a leaf node
func (*Session) UpdateSpace ¶
update the space on a leaf node
func (*Session) UpdateTemplate ¶
update the template on a leaf node
func (*Session) UpdateTemplateVar ¶
func (s *Session) UpdateTemplateVar(templateVar *model.TemplateVar) bool
update the template var on a leaf node
func (*Session) UpdateUser ¶
update the user on a leaf node
Click to show internal directories.
Click to hide internal directories.