Documentation ¶
Index ¶
- type DB
- func (db *DB) CreateChatboard(input *model.NewChatboard) (*model.Chatboard, error)
- func (db *DB) CreateMessage(input *model.NewMessage) (*model.Message, error)
- func (db *DB) DeleteChatboard(ID string) (*model.DeleteChatboard, error)
- func (db *DB) DeleteMessage(ID string) (*model.DeleteMessage, error)
- func (db *DB) GetMessages(ID string) ([]*model.Message, error)
- func (db *DB) SingleChatboard(ID string) (*model.Chatboard, error)
- func (db *DB) UpdateChatboard(ID string, input *model.UpdateChatboard) (*model.Chatboard, error)
- func (db *DB) UpdateMessage(ID string, input *model.UpdateMessage) (*model.Message, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CreateChatboard ¶
func (*DB) CreateMessage ¶
func (*DB) DeleteChatboard ¶
func (db *DB) DeleteChatboard(ID string) (*model.DeleteChatboard, error)
func (*DB) DeleteMessage ¶
func (db *DB) DeleteMessage(ID string) (*model.DeleteMessage, error)
func (*DB) UpdateChatboard ¶
func (*DB) UpdateMessage ¶
Click to show internal directories.
Click to hide internal directories.