Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContextHouseholdsKey = "households"
)
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(e *echo.Echo, authenticator *authenticator.Authenticator, inventoryClient *inventoryclient.InventoryClient)
Types ¶
type HouseholdCreator ¶
type HouseholdCreator interface {
CreateHousehold(ctx context.Context, household client.CreateHouseholdRequest) error
}
type HouseholdDeleter ¶
type HouseholdGetter ¶
type HouseholdUpdater ¶
type HouseholdUpdater interface { HouseholdGetter UpdateHousehold(ctx context.Context, household client.UpdateHouseholdRequest) error }
type HouseholdsGetter ¶
type RoomCreator ¶
type RoomCreator interface {
AddRoom(ctx context.Context, room client.AddRoomRequest) error
}
type RoomDeleter ¶
type RoomGetter ¶
type RoomUpdater ¶
type RoomUpdater interface { RoomGetter UpdateRoom(ctx context.Context, room client.UpdateRoomRequest) error }
type UserHouseholdGetter ¶
Click to show internal directories.
Click to hide internal directories.