Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PageInfo ¶
func QueryPageInfo ¶
type PostInfo ¶
type PostInfo struct {
Post *repository.Post
User *repository.User
}
type PublishPostFlow ¶
type PublishPostFlow struct {
// contains filtered or unexported fields
}
func NewPublishPostFlow ¶
func NewPublishPostFlow(topicId, userId int64, content string) *PublishPostFlow
func (*PublishPostFlow) Do ¶
func (f *PublishPostFlow) Do() (int64, error)
type QueryPageInfoFlow ¶
type QueryPageInfoFlow struct {
// contains filtered or unexported fields
}
func NewQueryPageInfoFlow ¶
func NewQueryPageInfoFlow(topId int64) *QueryPageInfoFlow
func (*QueryPageInfoFlow) Do ¶
func (f *QueryPageInfoFlow) Do() (*PageInfo, error)
type TopicInfo ¶
type TopicInfo struct {
Topic *repository.Topic
User *repository.User
}
Click to show internal directories.
Click to hide internal directories.