v2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by Ice-cream-maker DO NOT EDIT.

Index

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 Scanner

type Scanner interface {
	Scan(dest ...interface{}) error
}

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) ColumnNames() []string

func (Session) ColumnNamesWithAlias

func (Session) ColumnNamesWithAlias() []string

func (*Session) Ptrs

func (row *Session) Ptrs() []interface{}

func (*Session) Scan

func (row *Session) Scan(scanner Scanner) error

func (Session) Values

func (row Session) Values() []interface{}

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{}

Jump to

Keyboard shortcuts

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