Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
View Source
var PathURI = "/v1/api/agently/user/session"
Functions ¶
func DefineComponent ¶
Types ¶
type Input ¶
type Session ¶
type Session struct {
Id string `sqlx:"id,primaryKey" json:"id,omitempty"`
UserID string `sqlx:"user_id" json:"userId,omitempty"`
Provider string `sqlx:"provider" json:"provider,omitempty"`
CreatedAt time.Time `sqlx:"created_at" json:"createdAt,omitempty" format:"2006-01-02 15:04:05"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty" format:"2006-01-02 15:04:05"`
ExpiresAt time.Time `sqlx:"expires_at" json:"expiresAt,omitempty" format:"2006-01-02 15:04:05"`
Has *SessionHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
func (*Session) SetCreatedAt ¶
func (*Session) SetExpiresAt ¶
func (*Session) SetProvider ¶
func (*Session) SetUpdatedAt ¶
Click to show internal directories.
Click to hide internal directories.