package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package loaddata provides an ordinary component handler for typed AFS data.
Configuration and the storage capability use normal handler input DI.
type Config struct {
URL string `json:"url"`
Format string `json:"format"`
Compression string `json:"compression,omitempty"`
MaxBytes int64 `json:"maxBytes,omitempty"`
}
type Handler[T any] struct{}
func (*Handler[T]) Exec ¶
type Input struct {
Config *Config `parameter:"Config,kind=const,in=LoadData,required"`
Storage storage.Opener `bind:"kind=afs,required"`
}
type Output[T any] struct{ Data []T }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.