gomo

package
v0.0.0-...-3c69f0b Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gomo

type Gomo struct {
	// contains filtered or unexported fields
}

Gomo represents gomobile instance. Singleton.

func GetInstance

func GetInstance() *Gomo

GetInstance returns a Gomo instance. Since Gomo is singleton, it is necessary to call this function to get Gomo instance.

func (*Gomo) Initialize

func (gomo *Gomo) Initialize(onStart, onStop chan bool, updateCallback func())

Initialize initializes Gomo.

func (*Gomo) Start

func (gomo *Gomo) Start()

Start starts gomobile's main loop. Most of events handled by peer is fired by this function.

Jump to

Keyboard shortcuts

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