Documentation
¶
Index ¶
- type Repository
- func (s *Repository) AddToChatList(ctx context.Context, r *pb.AddChatListRequest) (*pb.AddChatListResponse, error)
- func (s *Repository) EditProfile(ctx context.Context, r *pb.EditProfileRequest) (*pb.EditProfileResponse, error)
- func (s *Repository) GetChatList(ctx context.Context, r *pb.ChatListRequest) (*pb.ChatListResponse, error)
- func (s *Repository) ProfileDetails(ctx context.Context, r *pb.ProfileDetailsRequest) (*pb.ProfileDetailsResponse, error)
- func (s *Repository) PublicProfile(ctx context.Context, r *pb.PublicProfileRequest) (*pb.PublicProfileResponse, error)
- func (s *Repository) PublicProfileHost(ctx context.Context, r *pb.PublicProfileHostRequest) (*pb.PublicProfileHostResponse, error)
- func (s *Repository) UploadImage(ctx context.Context, r *pb.ImageRequest) (*pb.ImageResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct { pb.UnimplementedUserProfileServer DB db.Repository S3 *s3.S3 }
func New ¶
func New(db db.Repository, s3 *s3.S3) *Repository
func (*Repository) AddToChatList ¶
func (s *Repository) AddToChatList(ctx context.Context, r *pb.AddChatListRequest) (*pb.AddChatListResponse, error)
func (*Repository) EditProfile ¶
func (s *Repository) EditProfile(ctx context.Context, r *pb.EditProfileRequest) (*pb.EditProfileResponse, error)
func (*Repository) GetChatList ¶
func (s *Repository) GetChatList(ctx context.Context, r *pb.ChatListRequest) (*pb.ChatListResponse, error)
func (*Repository) ProfileDetails ¶
func (s *Repository) ProfileDetails(ctx context.Context, r *pb.ProfileDetailsRequest) (*pb.ProfileDetailsResponse, error)
func (*Repository) PublicProfile ¶
func (s *Repository) PublicProfile(ctx context.Context, r *pb.PublicProfileRequest) (*pb.PublicProfileResponse, error)
func (*Repository) PublicProfileHost ¶
func (s *Repository) PublicProfileHost(ctx context.Context, r *pb.PublicProfileHostRequest) (*pb.PublicProfileHostResponse, error)
func (*Repository) UploadImage ¶
func (s *Repository) UploadImage(ctx context.Context, r *pb.ImageRequest) (*pb.ImageResponse, error)
Click to show internal directories.
Click to hide internal directories.