Documentation ¶
Index ¶
- type API
- func (m *API) CreateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
- func (m *API) CreatePost(post *model.Post) (*model.Post, *model.AppError)
- func (m *API) CreateTeam(team *model.Team) (*model.Team, *model.AppError)
- func (m *API) CreateUser(user *model.User) (*model.User, *model.AppError)
- func (m *API) DeleteChannel(channelId string) *model.AppError
- func (m *API) DeletePost(postId string) *model.AppError
- func (m *API) DeleteTeam(teamId string) *model.AppError
- func (m *API) DeleteUser(userId string) *model.AppError
- func (m *API) GetChannel(channelId string) (*model.Channel, *model.AppError)
- func (m *API) GetChannelByName(name, teamId string) (*model.Channel, *model.AppError)
- func (m *API) GetDirectChannel(userId1, userId2 string) (*model.Channel, *model.AppError)
- func (m *API) GetGroupChannel(userIds []string) (*model.Channel, *model.AppError)
- func (m *API) GetPost(postId string) (*model.Post, *model.AppError)
- func (m *API) GetTeam(teamId string) (*model.Team, *model.AppError)
- func (m *API) GetTeamByName(name string) (*model.Team, *model.AppError)
- func (m *API) GetUser(userId string) (*model.User, *model.AppError)
- func (m *API) GetUserByEmail(email string) (*model.User, *model.AppError)
- func (m *API) GetUserByUsername(name string) (*model.User, *model.AppError)
- func (m *API) LoadPluginConfiguration(dest interface{}) error
- func (m *API) UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
- func (m *API) UpdatePost(post *model.Post) (*model.Post, *model.AppError)
- func (m *API) UpdateTeam(team *model.Team) (*model.Team, *model.AppError)
- func (m *API) UpdateUser(user *model.User) (*model.User, *model.AppError)
- type Hooks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) CreateChannel ¶
func (*API) GetChannel ¶
func (*API) GetChannelByName ¶
func (*API) GetDirectChannel ¶
func (*API) GetGroupChannel ¶
func (*API) GetUserByEmail ¶
func (*API) GetUserByUsername ¶
func (*API) LoadPluginConfiguration ¶
func (*API) UpdateChannel ¶
Click to show internal directories.
Click to hide internal directories.