Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { CreateTopic(req ReqCreateTopic) (topicID m.IDTopic, reject error) UpdateTopicIntro(req ReqUpdateTopicIntro) (reject error) UpdateTopicCoverPhoto(req ReqUpdateTopicCoverPhoto) (reject error) }
type ReqCreateTopic ¶
type ReqCreateTopic struct { Title string `json:"title"` CoverPhoto string `json:"coverPhoto"` Intro string `json:"intro"` }
func (ReqCreateTopic) VD ¶
func (v ReqCreateTopic) VD(r *vd.Rule)
type ReqUpdateTopicCoverPhoto ¶
type ReqUpdateTopicCoverPhoto struct { TopicID m.IDTopic `json:"topicID"` CoverPhoto string `json:"coverPhoto"` }
func (ReqUpdateTopicCoverPhoto) VD ¶
func (v ReqUpdateTopicCoverPhoto) VD(r *vd.Rule)
type ReqUpdateTopicIntro ¶
func (ReqUpdateTopicIntro) VD ¶
func (v ReqUpdateTopicIntro) VD(r *vd.Rule)
Click to show internal directories.
Click to hide internal directories.