Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileServer ¶
type ProfileServer interface { GetUserInfo(context.Context, *profile.GetUserInfoRequest) (*profile.GetUserInfoReply, error) GetFans(context.Context, *profile.GetFansRequest) (*profile.GetFansReply, error) GetFollow(context.Context, *profile.GetFollowRequest) (*profile.GetFollowReply, error) AddFollow(context.Context, *profile.AddFollowRequest) (*profile.AddFollowReply, error) DeleteFollow(context.Context, *profile.DeleteFollowRequest) (*profile.DeleteFollowReply, error) }
ProfileServer provide the service that profileserver support by grpc
func NewProfileServer ¶
func NewProfileServer(redisPoll redism.Redism) ProfileServer
NewProfileServer generate a server client
Click to show internal directories.
Click to hide internal directories.