service

package
v0.0.0-...-3a3bdc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FOLLOW    int32 = 1
	UNFOLLOW  int32 = 2
	FOLLOWING int32 = 1
	FOLLOWER  int32 = 2
)

Functions

This section is empty.

Types

type RelationService

type RelationService struct {
	// contains filtered or unexported fields
}

func NewRelationService

func NewRelationService(ctx context.Context, c *app.RequestContext) *RelationService

NewPublishService create publish service

func (*RelationService) FollowAction

func (s *RelationService) FollowAction(req *relation.RelationActionRequest) error

func (*RelationService) GetRelationList

func (s *RelationService) GetRelationList(req *relation.RelationFollowListRequest, reqType int32) ([]*common.User, error)

Jump to

Keyboard shortcuts

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