Documentation ¶
Overview ¶
Code generated by gen.go; DO NOT EDIT.
Index ¶
- Constants
- type DefaultParam
- type Parameters
- func (p *Parameters) Animate() bool
- func (p *Parameters) Animations() []string
- func (p *Parameters) DataDirectory() string
- func (p *Parameters) DefaultFrame() string
- func (p *Parameters) DefaultShell() string
- func (p *Parameters) Get(key string) (value interface{}, ok bool)
- func (p *Parameters) NewChild() *Parameters
- func (p *Parameters) Set(key string, value interface{}) error
- func (p *Parameters) SetAnimate(value bool)
- func (p *Parameters) SetAnimations(value []string)
- func (p *Parameters) SetDataDirectory(value string)
- func (p *Parameters) SetDefaultFrame(value string)
- func (p *Parameters) SetDefaultShell(value string)
- func (p *Parameters) SetParent(parent *Parameters)
- func (p *Parameters) SetSkipInput(value bool)
- func (p *Parameters) SkipInput() bool
Constants ¶
View Source
const ( ParamAnimate = "animate" ParamAnimations = "animations" ParamDataDirectory = "data-directory" ParamDefaultFrame = "default-frame" ParamDefaultShell = "default-shell" ParamSkipInput = "---skip-input" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultParam ¶ added in v0.2.0
func DefaultParams ¶ added in v0.2.0
func DefaultParams() []DefaultParam
type Parameters ¶
type Parameters struct { deadlock.RWMutex // contains filtered or unexported fields }
func New ¶
func New() *Parameters
func (*Parameters) Animate ¶ added in v0.2.0
func (p *Parameters) Animate() bool
func (*Parameters) Animations ¶ added in v0.2.0
func (p *Parameters) Animations() []string
func (*Parameters) DataDirectory ¶ added in v0.2.0
func (p *Parameters) DataDirectory() string
func (*Parameters) DefaultFrame ¶ added in v0.2.0
func (p *Parameters) DefaultFrame() string
func (*Parameters) DefaultShell ¶ added in v0.2.0
func (p *Parameters) DefaultShell() string
func (*Parameters) Get ¶
func (p *Parameters) Get(key string) (value interface{}, ok bool)
func (*Parameters) NewChild ¶
func (p *Parameters) NewChild() *Parameters
func (*Parameters) Set ¶
func (p *Parameters) Set(key string, value interface{}) error
func (*Parameters) SetAnimate ¶ added in v0.2.0
func (p *Parameters) SetAnimate(value bool)
func (*Parameters) SetAnimations ¶ added in v0.2.0
func (p *Parameters) SetAnimations(value []string)
func (*Parameters) SetDataDirectory ¶ added in v0.2.0
func (p *Parameters) SetDataDirectory(value string)
func (*Parameters) SetDefaultFrame ¶ added in v0.2.0
func (p *Parameters) SetDefaultFrame(value string)
func (*Parameters) SetDefaultShell ¶ added in v0.2.0
func (p *Parameters) SetDefaultShell(value string)
func (*Parameters) SetParent ¶
func (p *Parameters) SetParent(parent *Parameters)
func (*Parameters) SetSkipInput ¶ added in v0.2.0
func (p *Parameters) SetSkipInput(value bool)
func (*Parameters) SkipInput ¶ added in v0.2.0
func (p *Parameters) SkipInput() bool
Click to show internal directories.
Click to hide internal directories.