bootstrap

package
v0.0.0-...-5dc8409 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap()

Bootstrap is a function which logs message

func InstallPlugin

func InstallPlugin(name string, plugin BootstrapPlugin)

InstallPlugin is a function which installs plugin

Types

type BootstrapFunc

type BootstrapFunc func() error

The BootstrapFunc type is an adapter to allow the use of ordinary functions as bootstrapPlugin.

func (BootstrapFunc) Init

func (b BootstrapFunc) Init() error

Init is a method

type BootstrapPlugin

type BootstrapPlugin interface {
	Init() error
}

BootstrapPlugin is a interface which declares Init method

Jump to

Keyboard shortcuts

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