duer

package
v0.0.0-...-d5cfa09 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DuerOSHost = "dueros-h2.baidu.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DuerOS

type DuerOS struct {
	// contains filtered or unexported fields
}
var (
	OS *DuerOS
)

func NewDuerOS

func NewDuerOS(r Registry) *DuerOS

func (*DuerOS) PostEvent

func (d *DuerOS) PostEvent(m *proto.Message)

type Registry

type Registry interface {
	Dispatch(m *proto.Message) error
	Context() []*proto.Message
}

Jump to

Keyboard shortcuts

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