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 ChatApiService ¶
type ChatApiService interface { senzingchatapi.Handler }
The ChatApiService interface is...
type ChatApiServiceImpl ¶
type ChatApiServiceImpl struct { api.UnimplementedHandler GrpcDialOptions []grpc.DialOption GrpcTarget string LogLevelName string ObserverOrigin string Observers []observer.Observer OpenApiSpecificationSpec []byte Port int SenzingEngineConfigurationJson string SenzingModuleName string SenzingVerboseLogging int64 UrlRoutePrefix string // contains filtered or unexported fields }
ChatApiServiceImpl is...