contract

package
v0.0.0-...-a474e13 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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 IBFFService

type IBFFService interface {
	AllStore(ctx context.Context, args *WithParam, params *entity.Store) (items []*entity.Store, errorData *utils.ServiceErrorData)
	FirstStore(ctx context.Context, args *WithParam, param *entity.Store) (items *entity.Store, errorData *utils.ServiceErrorData)
}

type IBookGRPCRepository

type IBookGRPCRepository interface {
	All(ctx context.Context, arg *entity.Book) (items []*entity.Book, err error)
	Find(ctx context.Context, arg *entity.Book) (item *entity.Book, err error)
	Record(ctx context.Context, arg *entity.Book) error
	Patch(ctx context.Context, arg *entity.Book) error
	Erase(ctx context.Context, arg *entity.Book) error
}

type IStoreGRPCRepository

type IStoreGRPCRepository interface {
	All(ctx context.Context) (items []*entity.Store, err error)
	Find(ctx context.Context, arg *entity.Store) (item *entity.Store, err error)
	Record(ctx context.Context, arg *entity.Store) error
	Patch(ctx context.Context, arg *entity.Store) error
	Erase(ctx context.Context, arg *entity.Store) error
}

type WithParam

type WithParam int8
const (
	WithID WithParam = iota
	WithRelationID
)

Jump to

Keyboard shortcuts

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