Documentation ¶
Index ¶
- type Channel
- func (fb *Channel) CallContextDone(c *neo.Context)
- func (fb *Channel) GetContextFabric() neo.ContextFabric
- func (fb *Channel) NewInput(data neo.InputData, i []neo.Intent, e []neo.Entity) *neo.Input
- func (fb *Channel) NewInputText(text string, i []neo.Intent, e []neo.Entity) *neo.Input
- func (fb *Channel) OnContextIsDone(callback func(c *neo.Context))
- func (fb *Channel) OnNewContextCreated(callback func(c *neo.Context))
- func (fb *Channel) RegisterMessageEndpoint(handler neo.MiddleHandler) error
- func (fb *Channel) SetContextFabric(fabric neo.ContextFabric)
- func (fb *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(options ChannelOptions, fabric ...neo.ContextFabric) (*Channel, error)
func (*Channel) CallContextDone ¶
func (*Channel) GetContextFabric ¶
func (fb *Channel) GetContextFabric() neo.ContextFabric
func (*Channel) NewInputText ¶
func (*Channel) OnContextIsDone ¶
func (*Channel) OnNewContextCreated ¶
func (*Channel) RegisterMessageEndpoint ¶
func (fb *Channel) RegisterMessageEndpoint(handler neo.MiddleHandler) error
func (*Channel) SetContextFabric ¶
func (fb *Channel) SetContextFabric(fabric neo.ContextFabric)
type ChannelOptions ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.