Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationInput ¶
type AuthorizationLog ¶
type AuthorizationOutput ¶
type DefaultClaims ¶
type DefaultClaims struct { JwtCustomClaims jwt.StandardClaims }
DefaultClaims represents the default claims for the JWT token.
type JwtCustomClaims ¶
type LoginInput ¶
type LoginOutput ¶
type RefreshTokenClaims ¶
type RefreshTokenClaims struct { SessionId primitive.ObjectID `json:"sessionId"` jwt.StandardClaims }
RefreshTokenClaims represents the claims for the refresh token.
type TrainingData ¶
type TrainingData struct { ID primitive.ObjectID `json:"id" bson:"_id"` ProjectId primitive.ObjectID `json:"projectId"` BotId primitive.ObjectID `json:"botId"` Files []Files `json:"files"` Description string `json:"description"` Greeting string `json:"greeting"` Persona string `json:"persona"` QA []FAQS `json:"qa"` Owner primitive.ObjectID `json:"owner"` }
Click to show internal directories.
Click to hide internal directories.