Documentation ¶
Overview ¶
Package grpcserver 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",
2004: "Serving avoided.",
4001: "Call to net.Listen(tcp, %s) failed.",
4002: "Call to Szdiagnostic.PurgeRepository() failed.",
4003: "Call to Szengine.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 BasicGrpcServer ¶ added in v0.7.3
type BasicGrpcServer struct { AvoidServing bool 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 }
BasicGrpcServer is the default implementation of the GrpcServer interface.
type GrpcServer ¶
Click to show internal directories.
Click to hide internal directories.