Documentation ¶
Overview ¶
Package account present full API functionality of the specific object
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionFromContext ¶
ActionFromContext returns action from context
func MessageFromContext ¶
MessageFromContext returns message from context
func WithAction ¶
WithAction returns context with action
Types ¶
type Filter ¶
type Filter struct { ID []uuid.UUID RequestID []string Name []string UserID []uint64 AccountID []uint64 ObjectID []uint64 ObjectIDStr []string ObjectType []string }
Filter of the objects list
type Order ¶
type Repository ¶
type Repository interface { Count(ctx context.Context, filter *Filter) (int64, error) FetchList(ctx context.Context, filter *Filter, order *Order, pagination *repository.Pagination) ([]*model.HistoryAction, error) }
Repository of access to the changelog
Directories ¶
Path | Synopsis |
---|---|
delivery
|
|
middleware
|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package repository implements methods of working with the repository objects
|
Package repository implements methods of working with the repository objects |
Package usecase account implementation
|
Package usecase account implementation |
Click to show internal directories.
Click to hide internal directories.