foo

package
v0.0.0-...-fdaaeef Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2016 License: MIT, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Ping string
	Pong string
	Zip  int
	Zop  int
}

this Config struct can used both by opts to parse CLI input and by library users who wish to use this code in their programs

type Foo

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

func New

func New(c Config) (*Foo, error)

use a Config value, not Config pointer. this prevents future modification from outside the library.

func (*Foo) Run

func (f *Foo) Run()

Jump to

Keyboard shortcuts

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