Documentation ¶
Overview ¶
One or two sentence synopsis of the package...
Overview ¶
One or two paragraph overview of the package... (This page describes the nature of the individual package.)
More information at https://github.com/senzing-garage/serve-chat
Another Header ¶
Details of the package... Lorem ipsum dolor sit amet, consectetur adipiscing elit...
Examples ¶
The examples given here should be specific to the package.
Examples of use can be seen in the examplepackage_test.go files.
package main import ( fmt "github.com/senzing-garage/serve-chat/examplepackage" ) func main() { ctx := context.TODO() testObject := &ExamplePackageImpl{ Something: "I'm here", } err := testObject.SaySomething(ctx) if err != nil { fmt.Println("whoops") } }
Index ¶
Constants ¶
const ComponentID = 6620
Identfier of the package found messages having the format "senzing-6620xxxx". See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md
const Prefix = "serve-chat.chatapiservice."
Log message prefix.
Variables ¶
var IDMessages = map[int]string{
0001: "Example Trace log.",
1000: "Example Debug log.",
2000: "Example Info log.",
3000: "Example Warn log.",
4000: "Example Error log.",
5000: "Example Fatal log.",
6000: "Example Panic log.",
}
Message templates for g2config implementations.
var IDStatuses = map[int]string{}
Status strings for specific messages.
var OpenAPISpecificationJSON []byte
var OpenAPISpecificationYaml []byte
Functions ¶
This section is empty.
Types ¶
type BasicChatAPIService ¶ added in v0.2.2
type BasicChatAPIService struct { senzingchatapi.UnimplementedHandler // abstractFactory senzing.SzAbstractFactory // abstractFactorySyncOnce sync.Once GrpcDialOptions []grpc.DialOption GrpcTarget string // logger logging.Logging LogLevelName string ObserverOrigin string Observers []observer.Observer OpenAPISpecificationSpec []byte Port int Settings string SenzingInstanceName string SenzingVerboseLogging int64 // szEngineSingleton senzing.SzEngine // szEngineSyncOnce sync.Once // szProductSingleton senzing.SzProduct // szProductSyncOnce sync.Once URLRoutePrefix string }
BasicChatAPIService is...
type ChatAPIService ¶ added in v0.2.2
type ChatAPIService interface { senzingchatapi.Handler }
The ChatAPIService interface is...