service

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type RelationService

type RelationService interface {
	CreateRelation(ctx context.Context, req *genrelation.CreateRelationReq) (resp *genrelation.CreateRelationResp, err error)
	GetRelation(ctx context.Context, req *genrelation.GetRelationReq) (resp *genrelation.GetRelationResp, err error)
	DeleteRelation(ctx context.Context, req *genrelation.DeleteRelationReq) (resp *genrelation.DeleteRelationResp, err error)
	GetRelations(ctx context.Context, req *genrelation.GetRelationsReq) (resp *genrelation.GetRelationsResp, err error)
	GetRelationCount(ctx context.Context, req *genrelation.GetRelationCountReq) (resp *genrelation.GetRelationCountResp, err error)
}

type RelationServiceImpl

type RelationServiceImpl struct {
	Config        *config.Config
	Redis         *redis.Redis
	RelationModel relationmapper.RelationNeo4jMapper
}

func (*RelationServiceImpl) CreateRelation

func (*RelationServiceImpl) DeleteRelation

func (*RelationServiceImpl) GetRelation

func (*RelationServiceImpl) GetRelationCount

func (*RelationServiceImpl) GetRelations

Jump to

Keyboard shortcuts

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