fetcher_command

package
v0.0.0-...-eb8e675 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Code generated by ./_fetcher.tt.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

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

func New

func New(container *map[string]command.Command) *Fetcher

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(key string) command.Command

func (*Fetcher) FetchWithDefault

func (f *Fetcher) FetchWithDefault(key string, defaultValue command.Command) command.Command

func (*Fetcher) HardFetch

func (f *Fetcher) HardFetch(key string) command.Command

func (*Fetcher) WithDefault

func (f *Fetcher) WithDefault(value *command.Command) *Fetcher

Jump to

Keyboard shortcuts

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