Documentation ¶
Index ¶
- Constants
- func FixCast(fPath string)
- func FixHeaderForEditOperations(inputFile, outputFile string)
- func ParseQuantizeRange(input string) (res editor.QuantizeRange, err error)
- type Runner
- func (r *Runner) Auth() (authUrl, result string)
- func (r *Runner) ConvertToGif(fPath, outFilePath string) (err error)
- func (r *Runner) Cut(inFilePath, outFilePath string, start, end float64) error
- func (r *Runner) Play() error
- func (r *Runner) Quantize(inFilePath, outFilePath string, ranges []string) (err error)
- func (r *Runner) Rec() error
- func (r *Runner) Speed(inFilePath, outFilePath string, factor, start, end float64) error
- func (r *Runner) Upload() (resp string, err error)
Constants ¶
View Source
const (
Auth_API = "https://asciinema.org/connect/%s"
)
View Source
const (
Upload_API = "https://asciinema.org/api/asciicasts"
)
View Source
const (
Version = "1.2.0"
)
Envs
Variables ¶
This section is empty.
Functions ¶
func FixHeaderForEditOperations ¶
func FixHeaderForEditOperations(inputFile, outputFile string)
func ParseQuantizeRange ¶
func ParseQuantizeRange(input string) (res editor.QuantizeRange, err error)
ParseQuantizeRange takes an input string that represents a quantization range and converts it into a QuantizeRange instance.
It allows both bounded and unbounded ranges.
For instance: - bounded: 1,2 - unbounded: 1
Fails if the input can't be converted to a QuantizeRange.
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.