tea

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Create(ctx context.Context, data *common.TeaData) (tea *common.Tea, err error)
	Update(ctx context.Context, id uuid.UUID, rec *common.TeaData) (record *common.Tea, err error)
	Delete(ctx context.Context, id uuid.UUID) error
	Get(ctx context.Context, id uuid.UUID) (record *common.Tea, err error)
	List(ctx context.Context, search *string) ([]common.Tea, error)
	SubscribeOnCreate(ctx context.Context) (<-chan *model.Tea, error)
	SubscribeOnUpdate(ctx context.Context) (<-chan *model.Tea, error)
	SubscribeOnDelete(ctx context.Context) (<-chan gqlCommon.ID, error)
	Start()
}

func NewManager

func NewManager(storage storage) Manager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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