Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Roflcopter ¶
type Roflcopter struct {
// contains filtered or unexported fields
}
func NewRoflcopter ¶
func NewRoflcopter(amount time.Duration, outStr *string, funcrunner func()) *Roflcopter
NewRoflcopter creates a new instance of roflcopter. amount sets duration, outStr is used to output frames, funcrunner will be called after frame change
func (*Roflcopter) OnlySound ¶
func (b *Roflcopter) OnlySound() *sync.WaitGroup
OnlySound only plays sound. Frames are not changing. Returns WaitGroup to know when it has finished work
Click to show internal directories.
Click to hide internal directories.