senzingchatservice

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

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 g2config 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 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...

Jump to

Keyboard shortcuts

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