table

package
v0.0.0-...-8b1ae4f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveEventTable

type ArchiveEventTable struct {
	ID          string
	DeviceID    string
	ClientID    string
	RequestedAt time.Time
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

func (ArchiveEventTable) Insert

func (t ArchiveEventTable) Insert(ctx context.Context, tx *sql.Tx) error

type ArchiveTable

type ArchiveTable struct {
	ID             string
	ArchiveEventID string
	ContentType    string
	DeviceId       string
	CreatedAt      any
	UpdatedAt      any
}

func (ArchiveTable) Insert

func (t ArchiveTable) Insert(ctx context.Context, tx *sql.Tx) error

type ClientTable

type ClientTable struct {
	Id        string
	Name      string
	Secret    string
	CreatedAt any
	UpdatedAt any
}

func (ClientTable) Insert

func (t ClientTable) Insert(ctx context.Context, tx *sql.Tx) error

type DeviceTable

type DeviceTable struct {
	Id       string
	Name     string
	Secret   string
	ClientId string
}

func (DeviceTable) Insert

func (t DeviceTable) Insert(ctx context.Context, tx *sql.Tx) error

Jump to

Keyboard shortcuts

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