Documentation
¶
Index ¶
- Constants
- func RegisterEntityResolutionServiceHandler(server *connect.Server, svc EntityResolutionServiceHandler)
- type EntityResolutionServiceClient
- type EntityResolutionServiceHandler
- type UnimplementedEntityResolutionServiceHandler
- func (UnimplementedEntityResolutionServiceHandler) CreateEntityChainFromJwt(context.Context, *entityresolution.CreateEntityChainFromJwtRequest) (*entityresolution.CreateEntityChainFromJwtResponse, error)
- func (UnimplementedEntityResolutionServiceHandler) ResolveEntities(context.Context, *entityresolution.ResolveEntitiesRequest) (*entityresolution.ResolveEntitiesResponse, error)
Constants ¶
const ( // EntityResolutionServiceResolveEntitiesProcedure is the procedure name of the // EntityResolutionService's ResolveEntities RPC. EntityResolutionServiceResolveEntitiesProcedure = "/entityresolution.EntityResolutionService/ResolveEntities" // EntityResolutionServiceCreateEntityChainFromJwtProcedure is the procedure name of the // EntityResolutionService's CreateEntityChainFromJwt RPC. EntityResolutionServiceCreateEntityChainFromJwtProcedure = "/entityresolution.EntityResolutionService/CreateEntityChainFromJwt" )
These constants are the procedure names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// EntityResolutionServiceName is the fully-qualified name of the EntityResolutionService service.
EntityResolutionServiceName = "entityresolution.EntityResolutionService"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterEntityResolutionServiceHandler ¶
func RegisterEntityResolutionServiceHandler(server *connect.Server, svc EntityResolutionServiceHandler)
RegisterEntityResolutionServiceHandler registers svc as the entityresolution.EntityResolutionService implementation on server.
Types ¶
type EntityResolutionServiceClient ¶
type EntityResolutionServiceClient interface {
// Deprecated: use v2 ResolveEntities instead
ResolveEntities(context.Context, *entityresolution.ResolveEntitiesRequest) (*entityresolution.ResolveEntitiesResponse, error)
// Deprecated: use v2 CreateEntityChainsFromTokens instead
CreateEntityChainFromJwt(context.Context, *entityresolution.CreateEntityChainFromJwtRequest) (*entityresolution.CreateEntityChainFromJwtResponse, error)
}
EntityResolutionServiceClient is a client for the entityresolution.EntityResolutionService service.
func NewEntityResolutionServiceClient ¶
func NewEntityResolutionServiceClient(client *connect.Client) EntityResolutionServiceClient
NewEntityResolutionServiceClient constructs a client for the entityresolution.EntityResolutionService service. Multiple service clients may share a single connect.Client.
type EntityResolutionServiceHandler ¶
type EntityResolutionServiceHandler interface {
// Deprecated: use v2 ResolveEntities instead
ResolveEntities(context.Context, *entityresolution.ResolveEntitiesRequest) (*entityresolution.ResolveEntitiesResponse, error)
// Deprecated: use v2 CreateEntityChainsFromTokens instead
CreateEntityChainFromJwt(context.Context, *entityresolution.CreateEntityChainFromJwtRequest) (*entityresolution.CreateEntityChainFromJwtResponse, error)
}
EntityResolutionServiceHandler is an implementation of the entityresolution.EntityResolutionService service.
type UnimplementedEntityResolutionServiceHandler ¶
type UnimplementedEntityResolutionServiceHandler struct{}
UnimplementedEntityResolutionServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedEntityResolutionServiceHandler) CreateEntityChainFromJwt ¶
func (UnimplementedEntityResolutionServiceHandler) CreateEntityChainFromJwt(context.Context, *entityresolution.CreateEntityChainFromJwtRequest) (*entityresolution.CreateEntityChainFromJwtResponse, error)
func (UnimplementedEntityResolutionServiceHandler) ResolveEntities ¶
func (UnimplementedEntityResolutionServiceHandler) ResolveEntities(context.Context, *entityresolution.ResolveEntitiesRequest) (*entityresolution.ResolveEntitiesResponse, error)