Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPTransport ¶
func NewHTTPTransport(ctx context.Context, serverAddress string, householdService HouseholdService) error
Types ¶
type HouseholdService ¶
type HouseholdService interface { CreateHousehold(context.Context, shared.CreateHouseholdCommandData) error UpdateHousehold(context.Context, shared.UpdateHouseholdCommandData) error DeleteHousehold(context.Context, shared.DeleteHouseholdCommandData) error AddRoom(context.Context, shared.AddRoomCommandData) error UpdateRoom(context.Context, shared.UpdateRoomCommandData) error DeleteRoom(context.Context, shared.DeleteRoomCommandData) error GetUserHouseholds(context.Context, string) ([]shared.UserHousehold, error) GetUserHousehold(context.Context, string, string) (shared.UserHousehold, error) GetUserHouseholdRoom(context.Context, string, string, string) (shared.UserHouseholdRoom, error) }
Click to show internal directories.
Click to hide internal directories.