Documentation ¶
Index ¶
- type Application
- func (a *Application) AddFollow(ctx context.Context, request *v1.AddFollowRequest) (*v1.AddFollowResponse, error)
- func (a *Application) IsFollowing(ctx context.Context, request *v1.IsFollowingRequest) (*v1.IsFollowingResponse, error)
- func (a *Application) ListFollowing(ctx context.Context, request *v1.ListFollowingRequest) (*v1.ListFollowingResponse, error)
- func (a *Application) RemoveFollow(ctx context.Context, request *v1.RemoveFollowRequest) (*v1.RemoveFollowResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { v1.UnimplementedFollowServiceServer // contains filtered or unexported fields }
func New ¶
func New(follow followserviceiface.FollowService) *Application
func (*Application) AddFollow ¶
func (a *Application) AddFollow(ctx context.Context, request *v1.AddFollowRequest) (*v1.AddFollowResponse, error)
func (*Application) IsFollowing ¶ added in v0.1.6
func (a *Application) IsFollowing(ctx context.Context, request *v1.IsFollowingRequest) (*v1.IsFollowingResponse, error)
func (*Application) ListFollowing ¶
func (a *Application) ListFollowing(ctx context.Context, request *v1.ListFollowingRequest) (*v1.ListFollowingResponse, error)
func (*Application) RemoveFollow ¶
func (a *Application) RemoveFollow(ctx context.Context, request *v1.RemoveFollowRequest) (*v1.RemoveFollowResponse, error)
Click to show internal directories.
Click to hide internal directories.