gongo

package module
v0.0.0-...-0ccb4e7 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App map[string]interface{}

TODO: change this to slice so init order is determined, get name with reflection

func (App) Configure

func (app App) Configure() error

type Callback

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

func (*Callback) Add

func (c *Callback) Add(f CallbackFunc)

func (Callback) Call

func (c Callback) Call(ctx context.Context) error

type CallbackFunc

type CallbackFunc func(ctx context.Context) error

type Configurer

type Configurer interface {
	Configure(app App) error
}

type Resourcer

type Resourcer interface {
	Resources() []interface{}
}

Jump to

Keyboard shortcuts

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