Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claim ¶
type Claim struct { Email string `json:"email"` ID primitive.ObjectID `bson:"_id" json:"_id,omitempty"` jwt.StandardClaims }
Claim decode info token
type ReponseSignIn ¶
type ReponseSignIn struct {
Token string `json:"token,omitempty"`
}
ReponseSignIn returns data SignIn
type ResponseQueryRelation ¶
type ResponseQueryRelation struct {
Status bool `json:"status"`
}
ResponseQueryRelation true or false
type ResponseTweetsFollowers ¶
type ResponseTweetsFollowers struct { ID primitive.ObjectID `bson:"_id" json:"_id,omitempty"` UsuerID string `bson:"userid" json:"userid,omitempty"` UserRelation string `bson:"userrelation" json:"userrelation"` Tweet struct { ID string `bson:"_id" json:"id,omitempty"` Message string `bson:"message" json:"message,omitempty"` CreateAt time.Time `bson:"createAt" json:"createAt,omitempty"` } }
ResponseTweetsFollowers all tweets
Click to show internal directories.
Click to hide internal directories.