structs

package
v0.0.0-...-363efc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2020 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL