Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppContext ¶
type AppContext struct { FS whfs.FS Config config.Config Resty *resty.Client GlobalPrefs *prefs.GlobalPrefs Prefs prefs.Prefs Auth client.Auth // contains filtered or unexported fields }
func FromContext ¶
func FromContext(c context.Context) AppContext
func NewTestContext ¶
func NewTestContext() AppContext
func (AppContext) Logger ¶
func (ac AppContext) Logger() *logrus.Entry
func (AppContext) SavePrefs ¶
func (ac AppContext) SavePrefs() error
Click to show internal directories.
Click to hide internal directories.