Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerService ¶
type ConsumerService struct {
// contains filtered or unexported fields
}
func NewConsumerService ¶
func NewConsumerService(repo contract.UserRepository, logger *slog.Logger) (*ConsumerService, error)
func (*ConsumerService) AddRoute ¶
func (c *ConsumerService) AddRoute(mux *http.ServeMux)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(repo contract.UserRepository, logger *slog.Logger) (*UserService, error)
func (*UserService) AddRoute ¶
func (u *UserService) AddRoute(h *http.ServeMux)
func (*UserService) UserProfile ¶
func (u *UserService) UserProfile(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.