Documentation ¶ Index ¶ func GetInstance() *uhub.Hub func GetInstance_(name string) *uhub.Hub func Init() error func Init_(name string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetInstance ¶ func GetInstance() *uhub.Hub func GetInstance_ ¶ func GetInstance_(name string) *uhub.Hub func Init ¶ func Init() error func Init_ ¶ func Init_(name string) error Init a new instance. If only need one instance, use empty name "". Use GetDefaultInstance() to get. If you need several instance, run Init() with different <name>. Use GetInstance(<name>) to get. Types ¶ This section is empty. Source Files ¶ View all Source files hub.go Click to show internal directories. Click to hide internal directories.