Documentation ¶
Index ¶
- func Service[T settings.Settings](service settings.CRUDService[T], f Filter[T]) settings.CRUDService[T]
- type Filter
- type FilterService
- func (me *FilterService[T]) Create(v T) (*api.Stub, error)
- func (me *FilterService[T]) Delete(id string) error
- func (me *FilterService[T]) Get(id string, v T) error
- func (me *FilterService[T]) List() (api.Stubs, error)
- func (me *FilterService[T]) Name() string
- func (me *FilterService[T]) NoCache() bool
- func (me *FilterService[T]) SchemaID() string
- func (me *FilterService[T]) Update(id string, v T) error
- func (me *FilterService[T]) Validate(v T) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Service ¶
func Service[T settings.Settings](service settings.CRUDService[T], f Filter[T]) settings.CRUDService[T]
Types ¶
type FilterService ¶
type FilterService[T settings.Settings] struct { Service settings.CRUDService[T] Filter Filter[T] }
func (*FilterService[T]) Delete ¶
func (me *FilterService[T]) Delete(id string) error
func (*FilterService[T]) Get ¶
func (me *FilterService[T]) Get(id string, v T) error
func (*FilterService[T]) Name ¶ added in v1.28.0
func (me *FilterService[T]) Name() string
func (*FilterService[T]) NoCache ¶
func (me *FilterService[T]) NoCache() bool
func (*FilterService[T]) SchemaID ¶
func (me *FilterService[T]) SchemaID() string
func (*FilterService[T]) Update ¶
func (me *FilterService[T]) Update(id string, v T) error
func (*FilterService[T]) Validate ¶
func (me *FilterService[T]) Validate(v T) error
Click to show internal directories.
Click to hide internal directories.