Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncedJSON ¶
type SyncedJSON struct {
// contains filtered or unexported fields
}
func NewSyncedJSON ¶
func NewSyncedJSON( ctx context.Context, file, fileContext, uri string, transport http.RoundTripper, roundTripName string, ttl time.Duration, maxStale time.Duration, unmarshaller SyncedJSONUnmarshaller) (*SyncedJSON, error)
func (*SyncedJSON) Data ¶
func (s *SyncedJSON) Data() (interface{}, error)
type SyncedJSONUnmarshaller ¶
Click to show internal directories.
Click to hide internal directories.