Documentation ¶
Overview ¶
Package scriber contains adapters for transcribing a chat session.
Each scriber adapter should have a constructor, a configuration structure that can be directly embedded into the application's configuration (if needed), and should support the common port interfaces needed by the application service layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NilScribe ¶
type NilScribe struct{}
func (NilScribe) Entry ¶
func (t NilScribe) Entry(model.ScribeEntry)
func (NilScribe) Footer ¶
func (t NilScribe) Footer(model.ScribeFooter)
func (NilScribe) Header ¶
func (t NilScribe) Header(model.ScribeHeader)
type TemplateScribe ¶
type TemplateScriber ¶
type TemplateScriber struct {
// contains filtered or unexported fields
}
func NewTemplateScribe ¶
func NewTemplateScribe(cfg TemplateScribe) (*TemplateScriber, error)
func (TemplateScriber) Close ¶
func (t TemplateScriber) Close() error
func (TemplateScriber) Entry ¶
func (t TemplateScriber) Entry(entry model.ScribeEntry)
func (TemplateScriber) Footer ¶
func (t TemplateScriber) Footer(outcome model.ScribeFooter)
func (TemplateScriber) Header ¶
func (t TemplateScriber) Header(context model.ScribeHeader)
Click to show internal directories.
Click to hide internal directories.