Documentation ¶
Overview ¶
Code generated by Ice-cream-maker DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TableNameWithTenant = tableNameWithTenant()
)
Functions ¶
This section is empty.
Types ¶
type ClientSessionPayload ¶
type ClientSessionPayload struct { ExpiresAt int64 `json:"exp,omitempty"` // expiration_time IssuedAt int64 `json:"iat,omitempty"` // issued_at_time Uuid string `json:"uuid,omitempty"` // token_uuid ClusterUuid string `json:"cluster-uuid,omitempty"` // cluster_uuid TenantHash string `json:"tenant-hash,omitempty"` // TenantHash PollInterval int `json:"poll-interval,omitempty"` // config_poll_interval Loglevel string `json:"log-level,omitempty"` // config_log_level }
func (ClientSessionPayload) Valid ¶
func (claims ClientSessionPayload) Valid() error
func (ClientSessionPayload) VerifyExpiresAt ¶
func (claims ClientSessionPayload) VerifyExpiresAt(cmp int64, req bool) bool
func (ClientSessionPayload) VerifyIssuedAt ¶
func (claims ClientSessionPayload) VerifyIssuedAt(cmp int64, req bool) bool
type Session ¶
type Session struct { ID int64 `column:"id" json:"id,omitempty"` // pk Uuid string `column:"uuid" json:"uuid,omitempty"` // uuid ClusterUuid string `column:"cluster_uuid" json:"cluster_uuid"` Token string `column:"token" json:"token"` IssuedAtTime vanilla.NullTime `column:"issued_at_time" json:"issued_at_time" swaggertype:"object"` ExpirationTime vanilla.NullTime `column:"expiration_time" json:"expiration_time" swaggertype:"object"` Created time.Time `column:"created" json:"created,omitempty"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"object"` Deleted vanilla.NullTime `column:"deleted" json:"deleted,omitempty" swaggertype:"object"` }
func (Session) ColumnNames ¶
Click to show internal directories.
Click to hide internal directories.