Documentation
¶
Index ¶
- type Channel
- func (term *Channel) CallContextDone(c *neo.Context)
- func (term *Channel) GetContextFabric() neo.ContextFabric
- func (term *Channel) NewInput(data neo.InputData, i []neo.Intent, e []neo.Entity) *neo.Input
- func (term *Channel) NewInputText(text string, i []neo.Intent, e []neo.Entity) *neo.Input
- func (term *Channel) OnContextIsDone(callback func(c *neo.Context))
- func (term *Channel) OnNewContextCreated(callback func(c *neo.Context))
- func (term *Channel) RegisterMessageEndpoint(handler neo.MiddleHandler) error
- func (term *Channel) SetContextFabric(fabric neo.ContextFabric)
- func (term *Channel) ToHear() error
- type ChannelOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func NewChannel ¶
func NewChannel(opts *ChannelOptions, fabric ...neo.ContextFabric) *Channel
func (*Channel) CallContextDone ¶
func (*Channel) GetContextFabric ¶
func (term *Channel) GetContextFabric() neo.ContextFabric
func (*Channel) NewInputText ¶
func (*Channel) OnContextIsDone ¶
func (*Channel) OnNewContextCreated ¶
func (*Channel) RegisterMessageEndpoint ¶
func (term *Channel) RegisterMessageEndpoint(handler neo.MiddleHandler) error
func (*Channel) SetContextFabric ¶
func (term *Channel) SetContextFabric(fabric neo.ContextFabric)
Click to show internal directories.
Click to hide internal directories.