Documentation
¶
Index ¶
- func MakeMessage(data *nasaapod.Response) string
- type APOD
- func (cfg *APOD) Export(path string) error
- func (cfg *APOD) Logger() *zap.Logger
- func (cfg *APOD) Lookup(ctx context.Context, date values.Date, utcFlag, saveFlag bool) (*nasaapod.Response, error)
- func (cfg *APOD) LookupWithoutCache(ctx context.Context, date values.Date, utcFlag, forceFlag bool) (*nasaapod.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMessage ¶ added in v0.5.2
Types ¶
type APOD ¶
type APOD struct { APIKey string `json:"api_key"` // contains filtered or unexported fields }
APOD is configuration for NASA API and APOD
Click to show internal directories.
Click to hide internal directories.