connection

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cursor

type Cursor struct {
	MintedAt time.Time
	Address  []byte
}

type Repository

type Repository struct {
	*base.Repository
	// contains filtered or unexported fields
}

func New added in v0.4.8

func New(db *base.Repository) *Repository

New creates a new connection repository.

func (*Repository) GetConnection

func (r *Repository) GetConnection(ctx context.Context, by gmodel.ConnectionBy) (*gmodel.Connection, error)

func (*Repository) GetConnections

func (r *Repository) GetConnections(ctx context.Context, first *int, after *string, last *int, before *string) (*gmodel.ConnectionConnection, error)

func (*Repository) ToAPI added in v0.4.8

Jump to

Keyboard shortcuts

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