Documentation
¶
Index ¶
- type ERSV2
- func (ers *ERSV2) CreateEntityChainsFromTokens(ctx context.Context, req *ersV2.CreateEntityChainsFromTokensRequest) (*ersV2.CreateEntityChainsFromTokensResponse, error)
- func (ers *ERSV2) GetService() *multistrategy.Service
- func (ers *ERSV2) ResolveEntities(ctx context.Context, req *ersV2.ResolveEntitiesRequest) (*ersV2.ResolveEntitiesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERSV2 ¶
type ERSV2 struct {
ersV2.UnimplementedEntityResolutionServiceServer
trace.Tracer
// contains filtered or unexported fields
}
ERSV2 implements the EntityResolutionServiceHandler for v2 multi-strategy resolution
func NewERSV2 ¶
func NewERSV2(ctx context.Context, config types.MultiStrategyConfig, logger *logger.Logger) (*ERSV2, error)
NewERSV2 creates a new v2 multi-strategy ERS
func RegisterMultiStrategyERSV2 ¶ added in v0.12.0
func RegisterMultiStrategyERSV2(config map[string]interface{}, logger *logger.Logger) (*ERSV2, serviceregistry.HandlerServer)
RegisterMultiStrategyERSV2 registers the v2 multi-strategy ERS service
func (*ERSV2) CreateEntityChainsFromTokens ¶
func (ers *ERSV2) CreateEntityChainsFromTokens( ctx context.Context, req *ersV2.CreateEntityChainsFromTokensRequest, ) (*ersV2.CreateEntityChainsFromTokensResponse, error)
CreateEntityChainsFromTokens implements the v2 EntityResolutionServiceHandler interface
func (*ERSV2) GetService ¶
func (ers *ERSV2) GetService() *multistrategy.Service
GetService returns the underlying multi-strategy service for testing and health checks
func (*ERSV2) ResolveEntities ¶
func (ers *ERSV2) ResolveEntities( ctx context.Context, req *ersV2.ResolveEntitiesRequest, ) (*ersV2.ResolveEntitiesResponse, error)
ResolveEntities implements the v2 EntityResolutionServiceHandler interface
Click to show internal directories.
Click to hide internal directories.