common

package
v0.0.0-...-378618d Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2011 License: BSD-3-Clause, GooglePatentClause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Modules map[string]*FunctionModule

Functions

func AddModule

func AddModule(mod string, ffunc func())

NOT THREAD SAFE! DO NOT USE OUTSIDE OF init()!

Types

type FunctionModule

type FunctionModule struct {
	FlagFunc func()
	Setup    func() os.Error
	Calls    map[string]UserCall
}

func NewFunctionModule

func NewFunctionModule(f func()) *FunctionModule

func (FunctionModule) Names

func (self FunctionModule) Names() (out []string)

type UserCall

type UserCall func([]string) os.Error

Jump to

Keyboard shortcuts

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