dal

package
v0.0.0-...-3b29339 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open() error

Types

type CatalogDAL

type CatalogDAL interface {
	Select(ctx context.Context, eventID int) (*model.Event, error)
	SelectList(ctx context.Context, page int, size int) ([]model.Event, int, error)
	Save(ctx context.Context, record *model.Event) error
	SelectOperations(ctx context.Context, serviceName string, operationID string) ([]*model.EventCatalog, error)
}

func NewCatalogDAL

func NewCatalogDAL() CatalogDAL

Directories

Path Synopsis
dal

Jump to

Keyboard shortcuts

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