Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PartsContext ¶
type PartsContext interface { GetSpare(key hsk.Key) (Spare, error) FindLatestSpares(page, size int) (records.Page, error) CreateSpare(obj Spare) (hsk.Key, error) UpdateSpare(key hsk.Key, obj Spare) error }
func Context ¶
func Context() PartsContext
func CreateContext ¶
func CreateContext() PartsContext
Click to show internal directories.
Click to hide internal directories.