Documentation
¶
Overview ¶
Code generated by Ice-cream-maker DO NOT EDIT.
Index ¶
- type ClientSessionPayload
- type Scanner
- type Session
- type Session_essential
- func (Session_essential) ColumnNames() []string
- func (Session_essential) ColumnNamesWithAlias() []string
- func (row *Session_essential) Ptrs() []interface{}
- func (row *Session_essential) Scan(scanner Scanner) error
- func (Session_essential) TableName() string
- func (row Session_essential) Values() []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
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 {
Session_essential `json:",inline"` //inline property
ID int64 `column:"id" json:"id,omitempty"` // pk
Uuid string `column:"uuid" json:"uuid,omitempty"` // uuid
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 ¶
func (Session) ColumnNamesWithAlias ¶
type Session_essential ¶
type Session_essential struct {
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"`
}
func (Session_essential) ColumnNames ¶
func (Session_essential) ColumnNames() []string
func (Session_essential) ColumnNamesWithAlias ¶
func (Session_essential) ColumnNamesWithAlias() []string
func (*Session_essential) Ptrs ¶
func (row *Session_essential) Ptrs() []interface{}
func (*Session_essential) Scan ¶
func (row *Session_essential) Scan(scanner Scanner) error
func (Session_essential) TableName ¶
func (Session_essential) TableName() string
func (Session_essential) Values ¶
func (row Session_essential) Values() []interface{}
Click to show internal directories.
Click to hide internal directories.