Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Service ¶
type Service interface { ReadUsers() ([]User, error) ReadUser(UserId) (User, error) ReadRooms() ([]Room, error) ReadRoom(string) (Room, error) }
func NewService ¶
func NewService(r Repository) Service
Click to show internal directories.
Click to hide internal directories.