Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTopics ¶ added in v0.8.4
func MakeTopics(v interface{}) (d [][]byte)
data can come in in the following formats: ["aabbccdd", {id: "ccddee", at: "11223344"}], "aabbcc", {id: "ccddee", at: "1122"}
Types ¶
type Frontend ¶
type Frontend interface {
// Checks whether a specific method is implemented
Supports(method string) bool
// Call calls the given method on interface it implements. This will return
// an error with errNotImplemented if the method hasn't been implemented
// and will return a ReturnInterface if it does.
Call(method string) (ReturnInterface, error)
}
Frontend is the basic interface for calling arbitrary methods on something that implements a front end (GUI, CLI, etc)
type ReturnInterface ¶
ReturnInterface is returned by the Intercom interface when a method is called
Click to show internal directories.
Click to hide internal directories.