profileimpl

package
v1.11.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL