Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { URL string Method string HeaderConfig *HeaderConfig SearchParams *navigation.SearchParams }
type DataLoader ¶
type DataLoader struct { URL string `json:"url"` SearchParams *navigation.SearchParams `json:"searchParams"` Method string `json:"method"` Header *Header `json:"header"` }
func New ¶
func New(c Config) *DataLoader
type Header ¶
type Header struct { Key string `json:"key"` Value HeaderValue `json:"value"` }
type HeaderConfig ¶
type HeaderConfig struct { Key string ValueConfig HeaderValueConfig }
type HeaderValue ¶
type HeaderValueConfig ¶
type MediaCardComponent ¶
type MediaCardComponent struct {
PropsMapper PropsMapper `json:"propsMapper"`
}
type Meta ¶
type Meta struct { Headers []string `json:"headers,omitempty"` Components map[string]string `json:"components,omitempty"` MediaCardComponent MediaCardComponent `json:"mediaCardComponent"` PageHeader string `json:"pageHeader,omitempty"` Message string `json:"message,omitempty"` Pagination Pagination `json:"pagination,omitempty"` }
type Pagination ¶
type PropsMapper ¶
Click to show internal directories.
Click to hide internal directories.