Versions in this module Expand all Collapse all v0 v0.0.10 Apr 16, 2023 Changes in this version + type Profile struct + Email string + Name string + type UserApplication struct + func NewUserApplication(dirRepo dir.DirectoryRepository, fileRepo file.FileRepository, ...) *UserApplication + func (app *UserApplication) GetProfile(ctx context.Context, uid int32) (*Profile, error) + type UserEventHandler struct + func NewUserEventHandler(dirApp *dir.DirectoryApplication, fileApp *file.FileApplication, ...) *UserEventHandler + func (handler *UserEventHandler) OnEvent(ctx context.Context, body []byte) + type UserEventPayload struct + Kind string + UserID int32 + type UserRestService struct + func NewUserRestServer(app *UserApplication, logger *zap.Logger, authHeader string) *UserRestService + func (server *UserRestService) ServeHTTP(w http.ResponseWriter, r *http.Request)