Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interactor ¶
type Interactor interface {
// contains filtered or unexported methods
}
Interactor interface
type InteractorConstructor ¶
type InteractorConstructor struct {
MenfessRepo MenfessRepo
}
InteractorConstructor constructor
func (InteractorConstructor) New ¶
func (i InteractorConstructor) New() Interactor
New Construct Interactor
type MenfessRepo ¶
type MenfessRepo interface { NewID() string GetPostByID(id string) entity.MenfessPost GetPostListByParentID(parentID string, first int, after string, ascSort bool) []entity.MenfessPost GetPostListByRoomIDs(roomIDs []string, first int, after string, ascSort bool) []entity.MenfessPost PutPost(name string, avatar string, body string, parentID string, repostID string, roomID string) entity.MenfessPost UpdateUpvoterIDs(postID string, accountID string, exist bool) UpdateDownvoterIDs(postID string, accountID string, exist bool) GetRoomList() []entity.MenfessRoom GetRoom(id string) entity.MenfessRoom }
MenfessRepo interface
Click to show internal directories.
Click to hide internal directories.