senzingchatservice

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package senzingchatservice has the implementation of the REST API calls.

Index

Constants

View Source
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

View Source
const Prefix = "serve-chat.chatapiservice."

Log message prefix.

Variables

View Source
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 szconfig implementations.

View Source
var IDStatuses = map[int]string{}

Status strings for specific messages.

View Source
var OpenAPISpecificationJSON []byte
View Source
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...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL