Documentation ¶
Overview ¶
The grpcserver package manages the gRPC server.
Index ¶
Constants ¶
View Source
const ComponentId = 6204
Identfier of the package found messages having the format "senzing-6204xxxx".
View Source
const DefaultGrpcObserverPort = "8260"
Default gRPC Observer port
View Source
const Prefix = "serve-grpc.grpcserver."
Log message prefix.
Variables ¶
View Source
var IdMessages = map[int]string{
2000: "Entry: %+v",
2001: "SENZING_ENGINE_CONFIGURATION_JSON: %v",
2002: "Enabling all services",
2003: "Server listening at %v",
4001: "Call to net.Listen(tcp, %s) failed.",
4002: "Call to G2diagnostic.PurgeRepository() failed.",
4003: "Call to G2engine.Destroy() failed.",
5001: "Failed to serve.",
}
Message templates.
View Source
var IdStatuses = map[int]string{}
Status strings for specific messages.
Functions ¶
This section is empty.
Types ¶
type GrpcServer ¶
type GrpcServerImpl ¶
type GrpcServerImpl struct { EnableAll bool EnableSzConfig bool EnableSzConfigManager bool EnableSzDiagnostic bool EnableSzEngine bool EnableSzProduct bool LogLevelName string ObserverOrigin string Observers []observer.Observer ObserverUrl string Port int SenzingSettings string SenzingInstanceName string SenzingVerboseLogging int64 // contains filtered or unexported fields }
GrpcServerImpl is the default implementation of the GrpcServer interface.
Click to show internal directories.
Click to hide internal directories.