Documentation
¶
Index ¶
- type Author
- type Manager
- func (m *Manager) AddPad(authorId string, padId string)
- func (m *Manager) CreateAuthor(name *string) Author
- func (m *Manager) GetAuthor(authorId string) (*Author, error)
- func (m *Manager) GetAuthor4Token(token string) *Author
- func (m *Manager) GetAuthorId(token string) *Author
- func (m *Manager) GetAuthorName(authorId string) string
- func (m *Manager) ListPadsOfAuthor(authorId string) ([]string, error)
- func (m *Manager) SetAuthorColor(author string, colorId int)
- func (m *Manager) SetAuthorName(authorId string, authorName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func NewManager ¶
func NewManager() Manager
func (*Manager) CreateAuthor ¶
func (*Manager) GetAuthor4Token ¶
func (*Manager) GetAuthorId ¶
func (*Manager) GetAuthorName ¶
*
- Returns the name of the author
- @param {String} author The id of the author
func (*Manager) ListPadsOfAuthor ¶
*
- Returns an array of all pads this author contributed to
- @param {String} authorID The id of the author
func (*Manager) SetAuthorColor ¶
func (*Manager) SetAuthorName ¶
Click to show internal directories.
Click to hide internal directories.