Documentation ¶
Index ¶
- func RegisterAdminServant(e *gin.Engine, s Admin)
- func RegisterAlipayPrivServant(e *gin.Engine, s AlipayPriv)
- func RegisterAlipayPubServant(e *gin.Engine, s AlipayPub)
- func RegisterCoreServant(e *gin.Engine, s Core)
- func RegisterFollowshipServant(e *gin.Engine, s Followship)
- func RegisterFriendshipServant(e *gin.Engine, s Friendship)
- func RegisterLooseServant(e *gin.Engine, s Loose)
- func RegisterPrivServant(e *gin.Engine, s Priv, m ...PrivChain)
- func RegisterPubServant(e *gin.Engine, s Pub)
- func RegisterRelaxServant(e *gin.Engine, s Relax, m ...RelaxChain)
- type Admin
- type AlipayPriv
- type AlipayPub
- type Core
- type Followship
- type Friendship
- type Loose
- type Priv
- type PrivChain
- type Pub
- type Relax
- type RelaxChain
- type UnimplementedAdminServant
- type UnimplementedAlipayPrivServant
- func (UnimplementedAlipayPrivServant) Chain() gin.HandlersChain
- func (UnimplementedAlipayPrivServant) UserRechargeLink(req *web.UserRechargeLinkReq) (*web.UserRechargeLinkResp, mir.Error)
- func (UnimplementedAlipayPrivServant) UserRechargeResult(req *web.UserRechargeResultReq) (*web.UserRechargeResultResp, mir.Error)
- func (UnimplementedAlipayPrivServant) UserWalletBills(req *web.UserWalletBillsReq) (*web.UserWalletBillsResp, mir.Error)
- type UnimplementedAlipayPubServant
- type UnimplementedCoreServant
- func (UnimplementedCoreServant) Chain() gin.HandlersChain
- func (UnimplementedCoreServant) ChangeAvatar(req *web.ChangeAvatarReq) mir.Error
- func (UnimplementedCoreServant) ChangeNickname(req *web.ChangeNicknameReq) mir.Error
- func (UnimplementedCoreServant) ChangePassword(req *web.ChangePasswordReq) mir.Error
- func (UnimplementedCoreServant) GetCollections(req *web.GetCollectionsReq) (*web.GetCollectionsResp, mir.Error)
- func (UnimplementedCoreServant) GetMessages(req *web.GetMessagesReq) (*web.GetMessagesResp, mir.Error)
- func (UnimplementedCoreServant) GetStars(req *web.GetStarsReq) (*web.GetStarsResp, mir.Error)
- func (UnimplementedCoreServant) GetUserInfo(req *web.UserInfoReq) (*web.UserInfoResp, mir.Error)
- func (UnimplementedCoreServant) ReadMessage(req *web.ReadMessageReq) mir.Error
- func (UnimplementedCoreServant) SendUserWhisper(req *web.SendWhisperReq) mir.Error
- func (UnimplementedCoreServant) SuggestTags(req *web.SuggestTagsReq) (*web.SuggestTagsResp, mir.Error)
- func (UnimplementedCoreServant) SuggestUsers(req *web.SuggestUsersReq) (*web.SuggestUsersResp, mir.Error)
- func (UnimplementedCoreServant) SyncSearchIndex(req *web.SyncSearchIndexReq) mir.Error
- func (UnimplementedCoreServant) TweetCollectionStatus(req *web.TweetCollectionStatusReq) (*web.TweetCollectionStatusResp, mir.Error)
- func (UnimplementedCoreServant) TweetStarStatus(req *web.TweetStarStatusReq) (*web.TweetStarStatusResp, mir.Error)
- func (UnimplementedCoreServant) UserPhoneBind(req *web.UserPhoneBindReq) mir.Error
- type UnimplementedFollowshipServant
- func (UnimplementedFollowshipServant) Chain() gin.HandlersChain
- func (UnimplementedFollowshipServant) FollowUser(req *web.FollowUserReq) mir.Error
- func (UnimplementedFollowshipServant) ListFollowings(req *web.ListFollowingsReq) (*web.ListFollowingsResp, mir.Error)
- func (UnimplementedFollowshipServant) ListFollows(req *web.ListFollowsReq) (*web.ListFollowsResp, mir.Error)
- func (UnimplementedFollowshipServant) UnfollowUser(req *web.UnfollowUserReq) mir.Error
- type UnimplementedFriendshipServant
- func (UnimplementedFriendshipServant) AddFriend(req *web.AddFriendReq) mir.Error
- func (UnimplementedFriendshipServant) Chain() gin.HandlersChain
- func (UnimplementedFriendshipServant) DeleteFriend(req *web.DeleteFriendReq) mir.Error
- func (UnimplementedFriendshipServant) GetContacts(req *web.GetContactsReq) (*web.GetContactsResp, mir.Error)
- func (UnimplementedFriendshipServant) RejectFriend(req *web.RejectFriendReq) mir.Error
- func (UnimplementedFriendshipServant) RequestingFriend(req *web.RequestingFriendReq) mir.Error
- type UnimplementedLooseServant
- func (UnimplementedLooseServant) Chain() gin.HandlersChain
- func (UnimplementedLooseServant) GetUserProfile(req *web.GetUserProfileReq) (*web.GetUserProfileResp, mir.Error)
- func (UnimplementedLooseServant) GetUserTweets(req *web.GetUserTweetsReq) (*web.GetUserTweetsResp, mir.Error)
- func (UnimplementedLooseServant) Timeline(req *web.TimelineReq) (*web.TimelineResp, mir.Error)
- func (UnimplementedLooseServant) TopicList(req *web.TopicListReq) (*web.TopicListResp, mir.Error)
- func (UnimplementedLooseServant) TweetComments(req *web.TweetCommentsReq) (*web.TweetCommentsResp, mir.Error)
- type UnimplementedPrivChain
- type UnimplementedPrivServant
- func (UnimplementedPrivServant) Chain() gin.HandlersChain
- func (UnimplementedPrivServant) CollectionTweet(req *web.CollectionTweetReq) (*web.CollectionTweetResp, mir.Error)
- func (UnimplementedPrivServant) CreateComment(req *web.CreateCommentReq) (*web.CreateCommentResp, mir.Error)
- func (UnimplementedPrivServant) CreateCommentReply(req *web.CreateCommentReplyReq) (*web.CreateCommentReplyResp, mir.Error)
- func (UnimplementedPrivServant) CreateTweet(req *web.CreateTweetReq) (*web.CreateTweetResp, mir.Error)
- func (UnimplementedPrivServant) DeleteComment(req *web.DeleteCommentReq) mir.Error
- func (UnimplementedPrivServant) DeleteCommentReply(req *web.DeleteCommentReplyReq) mir.Error
- func (UnimplementedPrivServant) DeleteTweet(req *web.DeleteTweetReq) mir.Error
- func (UnimplementedPrivServant) DownloadAttachment(req *web.DownloadAttachmentReq) (*web.DownloadAttachmentResp, mir.Error)
- func (UnimplementedPrivServant) DownloadAttachmentPrecheck(req *web.DownloadAttachmentPrecheckReq) (*web.DownloadAttachmentPrecheckResp, mir.Error)
- func (UnimplementedPrivServant) FollowTopic(req *web.FollowTopicReq) mir.Error
- func (UnimplementedPrivServant) HighlightTweet(req *web.HighlightTweetReq) (*web.HighlightTweetResp, mir.Error)
- func (UnimplementedPrivServant) LockTweet(req *web.LockTweetReq) (*web.LockTweetResp, mir.Error)
- func (UnimplementedPrivServant) StarTweet(req *web.StarTweetReq) (*web.StarTweetResp, mir.Error)
- func (UnimplementedPrivServant) StickTopic(req *web.StickTopicReq) (*web.StickTopicResp, mir.Error)
- func (UnimplementedPrivServant) StickTweet(req *web.StickTweetReq) (*web.StickTweetResp, mir.Error)
- func (UnimplementedPrivServant) ThumbsDownTweetComment(req *web.TweetCommentThumbsReq) mir.Error
- func (UnimplementedPrivServant) ThumbsDownTweetReply(req *web.TweetReplyThumbsReq) mir.Error
- func (UnimplementedPrivServant) ThumbsUpTweetComment(req *web.TweetCommentThumbsReq) mir.Error
- func (UnimplementedPrivServant) ThumbsUpTweetReply(req *web.TweetReplyThumbsReq) mir.Error
- func (UnimplementedPrivServant) UnfollowTopic(req *web.UnfollowTopicReq) mir.Error
- func (UnimplementedPrivServant) UploadAttachment(req *web.UploadAttachmentReq) (*web.UploadAttachmentResp, mir.Error)
- func (UnimplementedPrivServant) VisibleTweet(req *web.VisibleTweetReq) (*web.VisibleTweetResp, mir.Error)
- type UnimplementedPubServant
- func (UnimplementedPubServant) GetCaptcha() (*web.GetCaptchaResp, mir.Error)
- func (UnimplementedPubServant) Login(req *web.LoginReq) (*web.LoginResp, mir.Error)
- func (UnimplementedPubServant) Register(req *web.RegisterReq) (*web.RegisterResp, mir.Error)
- func (UnimplementedPubServant) SendCaptcha(req *web.SendCaptchaReq) mir.Error
- func (UnimplementedPubServant) TweetDetail(req *web.TweetDetailReq) (*web.TweetDetailResp, mir.Error)
- func (UnimplementedPubServant) Version() (*web.VersionResp, mir.Error)
- type UnimplementedRelaxChain
- type UnimplementedRelaxServant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdminServant ¶
RegisterAdminServant register Admin servant to gin
func RegisterAlipayPrivServant ¶
func RegisterAlipayPrivServant(e *gin.Engine, s AlipayPriv)
RegisterAlipayPrivServant register AlipayPriv servant to gin
func RegisterAlipayPubServant ¶
RegisterAlipayPubServant register AlipayPub servant to gin
func RegisterCoreServant ¶
RegisterCoreServant register Core servant to gin
func RegisterFollowshipServant ¶
func RegisterFollowshipServant(e *gin.Engine, s Followship)
RegisterFollowshipServant register Followship servant to gin
func RegisterFriendshipServant ¶
func RegisterFriendshipServant(e *gin.Engine, s Friendship)
RegisterFriendshipServant register Friendship servant to gin
func RegisterLooseServant ¶
RegisterLooseServant register Loose servant to gin
func RegisterPrivServant ¶
RegisterPrivServant register Priv servant to gin
func RegisterPubServant ¶
RegisterPubServant register Pub servant to gin
func RegisterRelaxServant ¶ added in v0.5.0
func RegisterRelaxServant(e *gin.Engine, s Relax, m ...RelaxChain)
RegisterRelaxServant register Relax servant to gin
Types ¶
type Admin ¶
type Admin interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain SiteInfo(*web.SiteInfoReq) (*web.SiteInfoResp, mir.Error) ChangeUserStatus(*web.ChangeUserStatusReq) mir.Error // contains filtered or unexported methods }
type AlipayPriv ¶
type AlipayPriv interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain UserWalletBills(*web.UserWalletBillsReq) (*web.UserWalletBillsResp, mir.Error) UserRechargeResult(*web.UserRechargeResultReq) (*web.UserRechargeResultResp, mir.Error) UserRechargeLink(*web.UserRechargeLinkReq) (*web.UserRechargeLinkResp, mir.Error) // contains filtered or unexported methods }
type AlipayPub ¶
type AlipayPub interface { AlipayNotify(*web.AlipayNotifyReq) mir.Error // contains filtered or unexported methods }
type Core ¶
type Core interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain TweetCollectionStatus(*web.TweetCollectionStatusReq) (*web.TweetCollectionStatusResp, mir.Error) TweetStarStatus(*web.TweetStarStatusReq) (*web.TweetStarStatusResp, mir.Error) SuggestTags(*web.SuggestTagsReq) (*web.SuggestTagsResp, mir.Error) SuggestUsers(*web.SuggestUsersReq) (*web.SuggestUsersResp, mir.Error) ChangeAvatar(*web.ChangeAvatarReq) mir.Error ChangeNickname(*web.ChangeNicknameReq) mir.Error ChangePassword(*web.ChangePasswordReq) mir.Error UserPhoneBind(*web.UserPhoneBindReq) mir.Error GetStars(*web.GetStarsReq) (*web.GetStarsResp, mir.Error) GetCollections(*web.GetCollectionsReq) (*web.GetCollectionsResp, mir.Error) SendUserWhisper(*web.SendWhisperReq) mir.Error ReadMessage(*web.ReadMessageReq) mir.Error GetMessages(*web.GetMessagesReq) (*web.GetMessagesResp, mir.Error) GetUserInfo(*web.UserInfoReq) (*web.UserInfoResp, mir.Error) SyncSearchIndex(*web.SyncSearchIndexReq) mir.Error // contains filtered or unexported methods }
type Followship ¶
type Followship interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain ListFollowings(*web.ListFollowingsReq) (*web.ListFollowingsResp, mir.Error) ListFollows(*web.ListFollowsReq) (*web.ListFollowsResp, mir.Error) UnfollowUser(*web.UnfollowUserReq) mir.Error FollowUser(*web.FollowUserReq) mir.Error // contains filtered or unexported methods }
type Friendship ¶
type Friendship interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain GetContacts(*web.GetContactsReq) (*web.GetContactsResp, mir.Error) DeleteFriend(*web.DeleteFriendReq) mir.Error RejectFriend(*web.RejectFriendReq) mir.Error AddFriend(*web.AddFriendReq) mir.Error RequestingFriend(*web.RequestingFriendReq) mir.Error // contains filtered or unexported methods }
type Loose ¶
type Loose interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain TweetComments(*web.TweetCommentsReq) (*web.TweetCommentsResp, mir.Error) TopicList(*web.TopicListReq) (*web.TopicListResp, mir.Error) GetUserProfile(*web.GetUserProfileReq) (*web.GetUserProfileResp, mir.Error) GetUserTweets(*web.GetUserTweetsReq) (*web.GetUserTweetsResp, mir.Error) Timeline(*web.TimelineReq) (*web.TimelineResp, mir.Error) // contains filtered or unexported methods }
type Priv ¶
type Priv interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain UnfollowTopic(*web.UnfollowTopicReq) mir.Error FollowTopic(*web.FollowTopicReq) mir.Error StickTopic(*web.StickTopicReq) (*web.StickTopicResp, mir.Error) ThumbsDownTweetReply(*web.TweetReplyThumbsReq) mir.Error ThumbsUpTweetReply(*web.TweetReplyThumbsReq) mir.Error ThumbsDownTweetComment(*web.TweetCommentThumbsReq) mir.Error ThumbsUpTweetComment(*web.TweetCommentThumbsReq) mir.Error DeleteCommentReply(*web.DeleteCommentReplyReq) mir.Error CreateCommentReply(*web.CreateCommentReplyReq) (*web.CreateCommentReplyResp, mir.Error) DeleteComment(*web.DeleteCommentReq) mir.Error CreateComment(*web.CreateCommentReq) (*web.CreateCommentResp, mir.Error) VisibleTweet(*web.VisibleTweetReq) (*web.VisibleTweetResp, mir.Error) HighlightTweet(*web.HighlightTweetReq) (*web.HighlightTweetResp, mir.Error) StickTweet(*web.StickTweetReq) (*web.StickTweetResp, mir.Error) LockTweet(*web.LockTweetReq) (*web.LockTweetResp, mir.Error) CollectionTweet(*web.CollectionTweetReq) (*web.CollectionTweetResp, mir.Error) StarTweet(*web.StarTweetReq) (*web.StarTweetResp, mir.Error) DeleteTweet(*web.DeleteTweetReq) mir.Error CreateTweet(*web.CreateTweetReq) (*web.CreateTweetResp, mir.Error) DownloadAttachment(*web.DownloadAttachmentReq) (*web.DownloadAttachmentResp, mir.Error) DownloadAttachmentPrecheck(*web.DownloadAttachmentPrecheckReq) (*web.DownloadAttachmentPrecheckResp, mir.Error) UploadAttachment(*web.UploadAttachmentReq) (*web.UploadAttachmentResp, mir.Error) // contains filtered or unexported methods }
type PrivChain ¶ added in v0.5.0
type PrivChain interface { ChainCreateTweet() gin.HandlersChain // contains filtered or unexported methods }
type Pub ¶
type Pub interface { TweetDetail(*web.TweetDetailReq) (*web.TweetDetailResp, mir.Error) SendCaptcha(*web.SendCaptchaReq) mir.Error GetCaptcha() (*web.GetCaptchaResp, mir.Error) Register(*web.RegisterReq) (*web.RegisterResp, mir.Error) Login(*web.LoginReq) (*web.LoginResp, mir.Error) Version() (*web.VersionResp, mir.Error) // contains filtered or unexported methods }
type Relax ¶ added in v0.5.0
type Relax interface { // Chain provide handlers chain for gin Chain() gin.HandlersChain GetUnreadMsgCount(*web.GetUnreadMsgCountReq) (*web.GetUnreadMsgCountResp, mir.Error) // contains filtered or unexported methods }
type RelaxChain ¶ added in v0.5.0
type RelaxChain interface { ChainGetUnreadMsgCount() gin.HandlersChain // contains filtered or unexported methods }
type UnimplementedAdminServant ¶
type UnimplementedAdminServant struct{}
UnimplementedAdminServant can be embedded to have forward compatible implementations.
func (UnimplementedAdminServant) Chain ¶
func (UnimplementedAdminServant) Chain() gin.HandlersChain
func (UnimplementedAdminServant) ChangeUserStatus ¶
func (UnimplementedAdminServant) ChangeUserStatus(req *web.ChangeUserStatusReq) mir.Error
func (UnimplementedAdminServant) SiteInfo ¶ added in v0.5.0
func (UnimplementedAdminServant) SiteInfo(req *web.SiteInfoReq) (*web.SiteInfoResp, mir.Error)
type UnimplementedAlipayPrivServant ¶
type UnimplementedAlipayPrivServant struct{}
UnimplementedAlipayPrivServant can be embedded to have forward compatible implementations.
func (UnimplementedAlipayPrivServant) Chain ¶
func (UnimplementedAlipayPrivServant) Chain() gin.HandlersChain
func (UnimplementedAlipayPrivServant) UserRechargeLink ¶
func (UnimplementedAlipayPrivServant) UserRechargeLink(req *web.UserRechargeLinkReq) (*web.UserRechargeLinkResp, mir.Error)
func (UnimplementedAlipayPrivServant) UserRechargeResult ¶
func (UnimplementedAlipayPrivServant) UserRechargeResult(req *web.UserRechargeResultReq) (*web.UserRechargeResultResp, mir.Error)
func (UnimplementedAlipayPrivServant) UserWalletBills ¶
func (UnimplementedAlipayPrivServant) UserWalletBills(req *web.UserWalletBillsReq) (*web.UserWalletBillsResp, mir.Error)
type UnimplementedAlipayPubServant ¶
type UnimplementedAlipayPubServant struct{}
UnimplementedAlipayPubServant can be embedded to have forward compatible implementations.
func (UnimplementedAlipayPubServant) AlipayNotify ¶
func (UnimplementedAlipayPubServant) AlipayNotify(req *web.AlipayNotifyReq) mir.Error
type UnimplementedCoreServant ¶
type UnimplementedCoreServant struct{}
UnimplementedCoreServant can be embedded to have forward compatible implementations.
func (UnimplementedCoreServant) Chain ¶
func (UnimplementedCoreServant) Chain() gin.HandlersChain
func (UnimplementedCoreServant) ChangeAvatar ¶
func (UnimplementedCoreServant) ChangeAvatar(req *web.ChangeAvatarReq) mir.Error
func (UnimplementedCoreServant) ChangeNickname ¶
func (UnimplementedCoreServant) ChangeNickname(req *web.ChangeNicknameReq) mir.Error
func (UnimplementedCoreServant) ChangePassword ¶
func (UnimplementedCoreServant) ChangePassword(req *web.ChangePasswordReq) mir.Error
func (UnimplementedCoreServant) GetCollections ¶
func (UnimplementedCoreServant) GetCollections(req *web.GetCollectionsReq) (*web.GetCollectionsResp, mir.Error)
func (UnimplementedCoreServant) GetMessages ¶
func (UnimplementedCoreServant) GetMessages(req *web.GetMessagesReq) (*web.GetMessagesResp, mir.Error)
func (UnimplementedCoreServant) GetStars ¶
func (UnimplementedCoreServant) GetStars(req *web.GetStarsReq) (*web.GetStarsResp, mir.Error)
func (UnimplementedCoreServant) GetUserInfo ¶
func (UnimplementedCoreServant) GetUserInfo(req *web.UserInfoReq) (*web.UserInfoResp, mir.Error)
func (UnimplementedCoreServant) ReadMessage ¶
func (UnimplementedCoreServant) ReadMessage(req *web.ReadMessageReq) mir.Error
func (UnimplementedCoreServant) SendUserWhisper ¶
func (UnimplementedCoreServant) SendUserWhisper(req *web.SendWhisperReq) mir.Error
func (UnimplementedCoreServant) SuggestTags ¶
func (UnimplementedCoreServant) SuggestTags(req *web.SuggestTagsReq) (*web.SuggestTagsResp, mir.Error)
func (UnimplementedCoreServant) SuggestUsers ¶
func (UnimplementedCoreServant) SuggestUsers(req *web.SuggestUsersReq) (*web.SuggestUsersResp, mir.Error)
func (UnimplementedCoreServant) SyncSearchIndex ¶
func (UnimplementedCoreServant) SyncSearchIndex(req *web.SyncSearchIndexReq) mir.Error
func (UnimplementedCoreServant) TweetCollectionStatus ¶
func (UnimplementedCoreServant) TweetCollectionStatus(req *web.TweetCollectionStatusReq) (*web.TweetCollectionStatusResp, mir.Error)
func (UnimplementedCoreServant) TweetStarStatus ¶
func (UnimplementedCoreServant) TweetStarStatus(req *web.TweetStarStatusReq) (*web.TweetStarStatusResp, mir.Error)
func (UnimplementedCoreServant) UserPhoneBind ¶
func (UnimplementedCoreServant) UserPhoneBind(req *web.UserPhoneBindReq) mir.Error
type UnimplementedFollowshipServant ¶
type UnimplementedFollowshipServant struct{}
UnimplementedFollowshipServant can be embedded to have forward compatible implementations.
func (UnimplementedFollowshipServant) Chain ¶
func (UnimplementedFollowshipServant) Chain() gin.HandlersChain
func (UnimplementedFollowshipServant) FollowUser ¶ added in v0.4.0
func (UnimplementedFollowshipServant) FollowUser(req *web.FollowUserReq) mir.Error
func (UnimplementedFollowshipServant) ListFollowings ¶
func (UnimplementedFollowshipServant) ListFollowings(req *web.ListFollowingsReq) (*web.ListFollowingsResp, mir.Error)
func (UnimplementedFollowshipServant) ListFollows ¶ added in v0.4.0
func (UnimplementedFollowshipServant) ListFollows(req *web.ListFollowsReq) (*web.ListFollowsResp, mir.Error)
func (UnimplementedFollowshipServant) UnfollowUser ¶ added in v0.4.0
func (UnimplementedFollowshipServant) UnfollowUser(req *web.UnfollowUserReq) mir.Error
type UnimplementedFriendshipServant ¶
type UnimplementedFriendshipServant struct{}
UnimplementedFriendshipServant can be embedded to have forward compatible implementations.
func (UnimplementedFriendshipServant) AddFriend ¶
func (UnimplementedFriendshipServant) AddFriend(req *web.AddFriendReq) mir.Error
func (UnimplementedFriendshipServant) Chain ¶
func (UnimplementedFriendshipServant) Chain() gin.HandlersChain
func (UnimplementedFriendshipServant) DeleteFriend ¶
func (UnimplementedFriendshipServant) DeleteFriend(req *web.DeleteFriendReq) mir.Error
func (UnimplementedFriendshipServant) GetContacts ¶
func (UnimplementedFriendshipServant) GetContacts(req *web.GetContactsReq) (*web.GetContactsResp, mir.Error)
func (UnimplementedFriendshipServant) RejectFriend ¶
func (UnimplementedFriendshipServant) RejectFriend(req *web.RejectFriendReq) mir.Error
func (UnimplementedFriendshipServant) RequestingFriend ¶
func (UnimplementedFriendshipServant) RequestingFriend(req *web.RequestingFriendReq) mir.Error
type UnimplementedLooseServant ¶
type UnimplementedLooseServant struct{}
UnimplementedLooseServant can be embedded to have forward compatible implementations.
func (UnimplementedLooseServant) Chain ¶
func (UnimplementedLooseServant) Chain() gin.HandlersChain
func (UnimplementedLooseServant) GetUserProfile ¶
func (UnimplementedLooseServant) GetUserProfile(req *web.GetUserProfileReq) (*web.GetUserProfileResp, mir.Error)
func (UnimplementedLooseServant) GetUserTweets ¶
func (UnimplementedLooseServant) GetUserTweets(req *web.GetUserTweetsReq) (*web.GetUserTweetsResp, mir.Error)
func (UnimplementedLooseServant) Timeline ¶
func (UnimplementedLooseServant) Timeline(req *web.TimelineReq) (*web.TimelineResp, mir.Error)
func (UnimplementedLooseServant) TopicList ¶ added in v0.3.0
func (UnimplementedLooseServant) TopicList(req *web.TopicListReq) (*web.TopicListResp, mir.Error)
func (UnimplementedLooseServant) TweetComments ¶ added in v0.3.0
func (UnimplementedLooseServant) TweetComments(req *web.TweetCommentsReq) (*web.TweetCommentsResp, mir.Error)
type UnimplementedPrivChain ¶ added in v0.5.0
type UnimplementedPrivChain struct{}
UnimplementedPrivChain can be embedded to have forward compatible implementations.
func (*UnimplementedPrivChain) ChainCreateTweet ¶ added in v0.5.0
func (b *UnimplementedPrivChain) ChainCreateTweet() gin.HandlersChain
type UnimplementedPrivServant ¶
type UnimplementedPrivServant struct{}
UnimplementedPrivServant can be embedded to have forward compatible implementations.
func (UnimplementedPrivServant) Chain ¶
func (UnimplementedPrivServant) Chain() gin.HandlersChain
func (UnimplementedPrivServant) CollectionTweet ¶
func (UnimplementedPrivServant) CollectionTweet(req *web.CollectionTweetReq) (*web.CollectionTweetResp, mir.Error)
func (UnimplementedPrivServant) CreateComment ¶
func (UnimplementedPrivServant) CreateComment(req *web.CreateCommentReq) (*web.CreateCommentResp, mir.Error)
func (UnimplementedPrivServant) CreateCommentReply ¶
func (UnimplementedPrivServant) CreateCommentReply(req *web.CreateCommentReplyReq) (*web.CreateCommentReplyResp, mir.Error)
func (UnimplementedPrivServant) CreateTweet ¶
func (UnimplementedPrivServant) CreateTweet(req *web.CreateTweetReq) (*web.CreateTweetResp, mir.Error)
func (UnimplementedPrivServant) DeleteComment ¶
func (UnimplementedPrivServant) DeleteComment(req *web.DeleteCommentReq) mir.Error
func (UnimplementedPrivServant) DeleteCommentReply ¶
func (UnimplementedPrivServant) DeleteCommentReply(req *web.DeleteCommentReplyReq) mir.Error
func (UnimplementedPrivServant) DeleteTweet ¶
func (UnimplementedPrivServant) DeleteTweet(req *web.DeleteTweetReq) mir.Error
func (UnimplementedPrivServant) DownloadAttachment ¶
func (UnimplementedPrivServant) DownloadAttachment(req *web.DownloadAttachmentReq) (*web.DownloadAttachmentResp, mir.Error)
func (UnimplementedPrivServant) DownloadAttachmentPrecheck ¶
func (UnimplementedPrivServant) DownloadAttachmentPrecheck(req *web.DownloadAttachmentPrecheckReq) (*web.DownloadAttachmentPrecheckResp, mir.Error)
func (UnimplementedPrivServant) FollowTopic ¶ added in v0.3.0
func (UnimplementedPrivServant) FollowTopic(req *web.FollowTopicReq) mir.Error
func (UnimplementedPrivServant) HighlightTweet ¶ added in v0.4.0
func (UnimplementedPrivServant) HighlightTweet(req *web.HighlightTweetReq) (*web.HighlightTweetResp, mir.Error)
func (UnimplementedPrivServant) LockTweet ¶
func (UnimplementedPrivServant) LockTweet(req *web.LockTweetReq) (*web.LockTweetResp, mir.Error)
func (UnimplementedPrivServant) StarTweet ¶
func (UnimplementedPrivServant) StarTweet(req *web.StarTweetReq) (*web.StarTweetResp, mir.Error)
func (UnimplementedPrivServant) StickTopic ¶ added in v0.3.0
func (UnimplementedPrivServant) StickTopic(req *web.StickTopicReq) (*web.StickTopicResp, mir.Error)
func (UnimplementedPrivServant) StickTweet ¶
func (UnimplementedPrivServant) StickTweet(req *web.StickTweetReq) (*web.StickTweetResp, mir.Error)
func (UnimplementedPrivServant) ThumbsDownTweetComment ¶ added in v0.3.0
func (UnimplementedPrivServant) ThumbsDownTweetComment(req *web.TweetCommentThumbsReq) mir.Error
func (UnimplementedPrivServant) ThumbsDownTweetReply ¶ added in v0.3.0
func (UnimplementedPrivServant) ThumbsDownTweetReply(req *web.TweetReplyThumbsReq) mir.Error
func (UnimplementedPrivServant) ThumbsUpTweetComment ¶ added in v0.3.0
func (UnimplementedPrivServant) ThumbsUpTweetComment(req *web.TweetCommentThumbsReq) mir.Error
func (UnimplementedPrivServant) ThumbsUpTweetReply ¶ added in v0.3.0
func (UnimplementedPrivServant) ThumbsUpTweetReply(req *web.TweetReplyThumbsReq) mir.Error
func (UnimplementedPrivServant) UnfollowTopic ¶ added in v0.3.0
func (UnimplementedPrivServant) UnfollowTopic(req *web.UnfollowTopicReq) mir.Error
func (UnimplementedPrivServant) UploadAttachment ¶
func (UnimplementedPrivServant) UploadAttachment(req *web.UploadAttachmentReq) (*web.UploadAttachmentResp, mir.Error)
func (UnimplementedPrivServant) VisibleTweet ¶
func (UnimplementedPrivServant) VisibleTweet(req *web.VisibleTweetReq) (*web.VisibleTweetResp, mir.Error)
type UnimplementedPubServant ¶
type UnimplementedPubServant struct{}
UnimplementedPubServant can be embedded to have forward compatible implementations.
func (UnimplementedPubServant) GetCaptcha ¶
func (UnimplementedPubServant) GetCaptcha() (*web.GetCaptchaResp, mir.Error)
func (UnimplementedPubServant) Login ¶
func (UnimplementedPubServant) Login(req *web.LoginReq) (*web.LoginResp, mir.Error)
func (UnimplementedPubServant) Register ¶
func (UnimplementedPubServant) Register(req *web.RegisterReq) (*web.RegisterResp, mir.Error)
func (UnimplementedPubServant) SendCaptcha ¶
func (UnimplementedPubServant) SendCaptcha(req *web.SendCaptchaReq) mir.Error
func (UnimplementedPubServant) TweetDetail ¶
func (UnimplementedPubServant) TweetDetail(req *web.TweetDetailReq) (*web.TweetDetailResp, mir.Error)
func (UnimplementedPubServant) Version ¶
func (UnimplementedPubServant) Version() (*web.VersionResp, mir.Error)
type UnimplementedRelaxChain ¶ added in v0.5.0
type UnimplementedRelaxChain struct{}
UnimplementedRelaxChain can be embedded to have forward compatible implementations.
func (*UnimplementedRelaxChain) ChainGetUnreadMsgCount ¶ added in v0.5.0
func (b *UnimplementedRelaxChain) ChainGetUnreadMsgCount() gin.HandlersChain
type UnimplementedRelaxServant ¶ added in v0.5.0
type UnimplementedRelaxServant struct{}
UnimplementedRelaxServant can be embedded to have forward compatible implementations.
func (UnimplementedRelaxServant) Chain ¶ added in v0.5.0
func (UnimplementedRelaxServant) Chain() gin.HandlersChain
func (UnimplementedRelaxServant) GetUnreadMsgCount ¶ added in v0.5.0
func (UnimplementedRelaxServant) GetUnreadMsgCount(req *web.GetUnreadMsgCountReq) (*web.GetUnreadMsgCountResp, mir.Error)