Documentation ¶
Index ¶
- func AddPhoto(ctx context.Context, fields *db.Photo) error
- func CreateUser(ctx context.Context, name string) (*db.User, error)
- func GetUserByID(ctx context.Context, id string) (*db.User, error)
- func GetUserByName(ctx context.Context, name string) (*db.User, error)
- func IncrPhotoSeq(ctx context.Context, id primitive.ObjectID) error
- func LoadUserPhotos(ctx context.Context, userID string) ([]db.Photo, error)
- func UpdatePhotoInitProgress(ctx context.Context, photoID primitive.ObjectID, status string, progress int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.