Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleContent ¶
type ArticleContent struct {
// article id
ArticleID string `json:"article_id,omitempty"`
// body
Body string `json:"body,omitempty"`
// created at
CreatedAt float64 `json:"created_at,omitempty"`
// eye catch url
EyeCatchURL string `json:"eye_catch_url,omitempty"`
// overview
Overview string `json:"overview,omitempty"`
// title
Title string `json:"title,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
ArticleContent article content swagger:model ArticleContent
func (*ArticleContent) MarshalBinary ¶
func (m *ArticleContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArticleContent) UnmarshalBinary ¶
func (m *ArticleContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ArticleImage ¶
type ArticleImage struct {
// article image
ArticleImage string `json:"article_image,omitempty"`
}
ArticleImage article image swagger:model ArticleImage
func (*ArticleImage) MarshalBinary ¶
func (m *ArticleImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArticleImage) UnmarshalBinary ¶
func (m *ArticleImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ArticleInfo ¶
type ArticleInfo struct {
// article id
ArticleID string `json:"article_id,omitempty"`
// created at
CreatedAt float64 `json:"created_at,omitempty"`
// eye catch url
EyeCatchURL string `json:"eye_catch_url,omitempty"`
// overview
Overview string `json:"overview,omitempty"`
// title
Title string `json:"title,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
ArticleInfo article info swagger:model ArticleInfo
func (*ArticleInfo) MarshalBinary ¶
func (m *ArticleInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArticleInfo) UnmarshalBinary ¶
func (m *ArticleInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Comment ¶
type Comment struct {
// article id
ArticleID string `json:"article_id,omitempty"`
// comment id
CommentID string `json:"comment_id,omitempty"`
// created at
CreatedAt float64 `json:"created_at,omitempty"`
// sort key
SortKey int64 `json:"sort_key,omitempty"`
// text
Text string `json:"text,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
Comment comment swagger:model Comment
func (*Comment) MarshalBinary ¶
MarshalBinary interface implementation
func (*Comment) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MeArticlesDraftsCreate ¶
type MeArticlesDraftsCreate struct {
// body
Body string `json:"body,omitempty"`
// eye catch url
EyeCatchURL string `json:"eye_catch_url,omitempty"`
// overview
Overview string `json:"overview,omitempty"`
// title
Title string `json:"title,omitempty"`
}
MeArticlesDraftsCreate me articles drafts create swagger:model MeArticlesDraftsCreate
func (*MeArticlesDraftsCreate) MarshalBinary ¶
func (m *MeArticlesDraftsCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeArticlesDraftsCreate) UnmarshalBinary ¶
func (m *MeArticlesDraftsCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MeInfoIcon ¶
type MeInfoIcon struct {
// icon image
IconImage string `json:"icon_image,omitempty"`
}
MeInfoIcon me info icon swagger:model MeInfoIcon
func (*MeInfoIcon) MarshalBinary ¶
func (m *MeInfoIcon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeInfoIcon) UnmarshalBinary ¶
func (m *MeInfoIcon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MeInfoUpdate ¶
type MeInfoUpdate struct {
// self introduction
SelfIntroduction string `json:"self_introduction,omitempty"`
// user display name
UserDisplayName string `json:"user_display_name,omitempty"`
}
MeInfoUpdate me info update swagger:model MeInfoUpdate
func (*MeInfoUpdate) MarshalBinary ¶
func (m *MeInfoUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeInfoUpdate) UnmarshalBinary ¶
func (m *MeInfoUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MeWalletBalance ¶
type MeWalletBalance struct {
// private eth address
PrivateEthAddress string `json:"private_eth_address,omitempty"`
}
MeWalletBalance me wallet balance swagger:model MeWalletBalance
func (*MeWalletBalance) MarshalBinary ¶
func (m *MeWalletBalance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeWalletBalance) UnmarshalBinary ¶
func (m *MeWalletBalance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Notification ¶
type Notification struct {
// acted user id
ActedUserID string `json:"acted_user_id,omitempty"`
// created at
CreatedAt float64 `json:"created_at,omitempty"`
// sort key
SortKey int64 `json:"sort_key,omitempty"`
// type
Type string `json:"type,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
Notification notification swagger:model Notification
func (*Notification) MarshalBinary ¶
func (m *Notification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Notification) UnmarshalBinary ¶
func (m *Notification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Publish ¶
type Publish struct {
// tgas
Tgas []string `json:"tgas"`
// topic
Topic string `json:"topic,omitempty"`
}
Publish publish swagger:model Publish
func (*Publish) MarshalBinary ¶
MarshalBinary interface implementation
func (*Publish) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Topic ¶
type Topic struct {
// display name
DisplayName string `json:"display_name,omitempty"`
// index hash key
IndexHashKey string `json:"index_hash_key,omitempty"`
// name
Name string `json:"name,omitempty"`
// order
Order int64 `json:"order,omitempty"`
}
Topic topic swagger:model Topic
func (*Topic) MarshalBinary ¶
MarshalBinary interface implementation
func (*Topic) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UpdateArticle ¶
type UpdateArticle struct {
// body
Body string `json:"body,omitempty"`
// eye catch url
EyeCatchURL string `json:"eye_catch_url,omitempty"`
// overview
Overview string `json:"overview,omitempty"`
// title
Title string `json:"title,omitempty"`
}
UpdateArticle update article swagger:model UpdateArticle
func (*UpdateArticle) MarshalBinary ¶
func (m *UpdateArticle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateArticle) UnmarshalBinary ¶
func (m *UpdateArticle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserInfo ¶
type UserInfo struct {
// icon image url
IconImageURL string `json:"icon_image_url,omitempty"`
// self introduction
SelfIntroduction string `json:"self_introduction,omitempty"`
// user display name
UserDisplayName string `json:"user_display_name,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
UserInfo user info swagger:model UserInfo
func (*UserInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation