Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFD ¶
type CFD[RawEntity any, CastedEntity filter.Filterable, Create, List, Delete any] struct { CreateService[Create, RawEntity, CastedEntity] FilterService[List, RawEntity, CastedEntity] DeleteService[Delete] }
CFD = Create - Filter - Delete
type CRD ¶
type CRD[RawEntity any, CastedEntity filter.Filterable, Create, Get, List, Delete any] struct { CreateService[Create, RawEntity, CastedEntity] GetService[Get, RawEntity, CastedEntity] FilterService[List, RawEntity, CastedEntity] DeleteService[Delete] }
CRD = Create - Read (Get & Filter) - Delete
type CRUD ¶
type CRUD[RawEntity any, CastedEntity filter.Filterable, Create, Get, List, Update, Delete any] struct { CreateService[Create, RawEntity, CastedEntity] GetService[Get, RawEntity, CastedEntity] FilterService[List, RawEntity, CastedEntity] UpdateService[Update, RawEntity, CastedEntity] DeleteService[Delete] }
CRUD = Create - Read (Get & Filter) - Update - Delete
type CreateService ¶
type CreateService[Input, RawOutput, CastedOutput any] struct { // contains filtered or unexported fields }
func NewCreate ¶
func NewCreate[Input, RawOutput, CastedOutput any]( service createService[Input, RawOutput], cast Cast[RawOutput, CastedOutput], ) CreateService[Input, RawOutput, CastedOutput]
type DeleteService ¶
type DeleteService[Input any] struct { // contains filtered or unexported fields }
func NewDelete ¶
func NewDelete[Input any]( service deleteService[Input], ) DeleteService[Input]
type FilterService ¶
type FilterService[Input, RawOutput any, CastedOutput filter.Filterable] struct { ListService[Input, RawOutput, CastedOutput] }
func NewFilter ¶
func NewFilter[Input, RawOutput any, CastedOutput filter.Filterable]( service listService[Input, RawOutput], cast Cast[RawOutput, CastedOutput], ) FilterService[Input, RawOutput, CastedOutput]
type GetService ¶
type GetService[Input, RawOutput, CastedOutput any] struct { // contains filtered or unexported fields }
func NewGet ¶
func NewGet[Input, RawOutput, CastedOutput any]( service getService[Input, RawOutput], cast Cast[RawOutput, CastedOutput], ) GetService[Input, RawOutput, CastedOutput]
type ListService ¶
type ListService[Input, RawOutput, CastedOutput any] struct { // contains filtered or unexported fields }
func NewList ¶
func NewList[Input, RawOutput, CastedOutput any]( service listService[Input, RawOutput], cast Cast[RawOutput, CastedOutput], ) ListService[Input, RawOutput, CastedOutput]
type OrderedCreateService ¶
type OrderedCreateService[Input any] struct { // contains filtered or unexported fields }
func NewOrderedCreate ¶
func NewOrderedCreate[Input any]( service orderedCreateService[Input], ) OrderedCreateService[Input]
type PerformActionService ¶
type PerformActionService[ActionInput, RawOutput, CastedOutput any] struct { // contains filtered or unexported fields }
func NewPerformAction ¶
func NewPerformAction[Input, RawOutput, CastedOutput any]( service performActionService[Input, RawOutput], cast Cast[RawOutput, CastedOutput], ) PerformActionService[Input, RawOutput, CastedOutput]
type Read ¶
type Read[RawEntity any, CastedEntity filter.Filterable, Get, List any] struct { GetService[Get, RawEntity, CastedEntity] FilterService[List, RawEntity, CastedEntity] }
Read (Get & Filter)
type UpdateService ¶
type UpdateService[Input, RawOutput, CastedOutput any] struct { // contains filtered or unexported fields }
func NewUpdate ¶
func NewUpdate[Input, RawOutput, CastedOutput any]( service updateService[Input, RawOutput], cast Cast[RawOutput, CastedOutput], ) UpdateService[Input, RawOutput, CastedOutput]
Click to show internal directories.
Click to hide internal directories.