data

package
v0.0.0-...-b7f56a6 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 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 Link struct {
	ID        string          `db:"id" structs:"id" json:"id"`
	ExpiredAt time.Time       `db:"expired_at" structs:"expired_at" json:"expired_at"`
	Value     json.RawMessage `db:"value" structs:"value" json:"value"`
	Path      string          `db:"path" structs:"path" json:"path"`
}

type LinksQ

type LinksQ interface {
	New() LinksQ

	Get(ctx context.Context, id string) (*Link, error)

	Insert(ctx context.Context, data Link) (*Link, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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