conversation

package
v0.0.1-release Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conversation

type Conversation struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config) Conversation

func (Conversation) Create

func (c Conversation) Create(ctx context.Context) (*State, error)

type State

type State struct {
	ConversationSignature *string `json:"conversationSignature"`
	ClientID              *string `json:"clientId"`
	ConversationID        *string `json:"conversationId"`
	Result                *Status `json:"result"`
}

type Status

type Status struct {
	Value   *string `json:"value"`
	Message *string `json:"message"`
}

Jump to

Keyboard shortcuts

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