Documentation ¶
Index ¶
- func IsFromCache(ctx context.Context, obj interface{}) bool
- func NewComponent(ctx context.Context, typ string) (*wtype.Liquid, error)
- func NewContext(ctx context.Context, pc Cache) context.Context
- func NewPlate(ctx context.Context, typ string) (*wtype.Plate, error)
- func NewTipbox(ctx context.Context, typ string) (*wtype.LHTipbox, error)
- func NewTipwaste(ctx context.Context, typ string) (*wtype.LHTipwaste, error)
- func ReturnObject(ctx context.Context, obj interface{}) error
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFromCache ¶
IsFromCache returns true if the object is from the cache
func NewComponent ¶
NewComponent returns a new component of the given type
func NewContext ¶
NewContext returns a context with the new cache
func NewTipwaste ¶
NewTipwaste returns a new tipwaste of the given type
func ReturnObject ¶
ReturnObject return an object to the cache to be cleaned
Types ¶
Click to show internal directories.
Click to hide internal directories.