grpcsvc

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogLogic added in v0.16.1

type CatalogLogic interface {
	Get(ctx context.Context, id string) (*model.Item, error)
	List(ctx context.Context, page *common.Page) ([]*model.Item, error)
	ListAvailable(ctx context.Context, timestampOverride *time.Time, page *common.Page) ([]*model.Item, error)
	UpdateItem(ctx context.Context, item *model.Item) (*model.Item, error)
}

type CatalogService

type CatalogService struct {
	itemv1.UnimplementedCatalogServiceServer
	// contains filtered or unexported fields
}

func NewCatalogService added in v0.16.1

func NewCatalogService(logic CatalogLogic) *CatalogService

func (*CatalogService) Get added in v0.16.1

func (*CatalogService) List added in v0.16.1

func (*CatalogService) ListAvailable added in v0.16.1

func (*CatalogService) UpdateItem added in v0.16.1

Directories

Path Synopsis
Package mock_grpcsvc is a generated GoMock package.
Package mock_grpcsvc is a generated GoMock package.

Jump to

Keyboard shortcuts

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