internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageMarshalProtobuf added in v0.2.0

func ImageMarshalProtobuf(img image.Image) *proto.ImageOrResource

func MarshalProtobuf added in v0.2.0

func MarshalProtobuf(pb gogoproto.Message) []byte

func Middlewares

func Middlewares() []func() interface{}

func ReflectName added in v0.2.0

func ReflectName(a interface{}) string

func RegisterMiddleware

func RegisterMiddleware(v func() interface{})

RegisterMiddleware adds v to the list of default middleware that Root starts with.

func TintColor

func TintColor(img image.Image, color color.Color) image.Image

Types

type Ticker

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

func NewTicker

func NewTicker(duration time.Duration) *Ticker

func (*Ticker) Notify

func (t *Ticker) Notify(f func()) comm.Id

func (*Ticker) Signal

func (t *Ticker) Signal()

func (*Ticker) Stop

func (t *Ticker) Stop()

func (*Ticker) Unnotify

func (t *Ticker) Unnotify(key comm.Id)

func (*Ticker) Value

func (t *Ticker) Value() float64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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