Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawUserProfile ¶
type RawUserProfile struct { weaver.AutoMarshal Desc string Info map[string]string }
func (*RawUserProfile) WeaverMarshal ¶
func (x *RawUserProfile) WeaverMarshal(enc *codegen.Encoder)
func (*RawUserProfile) WeaverUnmarshal ¶
func (x *RawUserProfile) WeaverUnmarshal(dec *codegen.Decoder)
type RemoteProfileService ¶
type RemoteProfileService interface { GetProfiles(ctx context.Context, userIds []uint64) (map[uint64]RawUserProfile, error) GetPicture(ctx context.Context, userId uint64) ([]byte, error) UpdateProfile(ctx context.Context, userId uint64, desc string, info map[string]string) error UpdatePicture(ctx context.Context, userId uint64, data []byte) error Delete(ctx context.Context, userId uint64) error }
Click to show internal directories.
Click to hide internal directories.