Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Configure(envs map[string]string) error
Open() error
Close() error
Clear(ctx context.Context) error
EmployeeRead(ctx context.Context, empNo int64) (*data.Employee, error)
EmployeesRead(ctx context.Context, search data.EmployeeSearch) ([]*data.Employee, error)
EmployeesWrite(ctx context.Context, search data.EmployeeSearch, es ...*data.Employee) error
EmployeesDelete(ctx context.Context, empNos ...int64) error
}
Click to show internal directories.
Click to hide internal directories.