Documentation
¶
Index ¶
- Constants
- func BeQuiet()
- func Copy(dst io.Writer, src *os.File) func()
- func FD_ISSET(p *syscall.FdSet, fd int) bool
- func FD_SET(p *syscall.FdSet, fd int)
- func FirstNonBlank(candidates ...string) string
- func GetLocaleCharset(env map[string]string) string
- func IsUtf8Locale(env map[string]string) bool
- func Printf(s string, args ...interface{})
- func ReadLine() string
- func Select(nfd int, r *syscall.FdSet, w *syscall.FdSet, e *syscall.FdSet, ...) error
- func Warningf(s string, args ...interface{})
- func WithSpinner(delay int, f func())
- type Config
- type ConfigAPI
- type ConfigFile
- type ConfigPlay
- type ConfigRecord
- type ConfigUser
- type UUID
Constants ¶
View Source
const ( DefaultAPIURL = "https://asciinema.org" DefaultCommand = "/bin/sh" )
Variables ¶
This section is empty.
Functions ¶
func FirstNonBlank ¶ added in v1.0.0
func GetLocaleCharset ¶ added in v1.0.0
func IsUtf8Locale ¶ added in v1.0.0
func WithSpinner ¶ added in v1.2.0
func WithSpinner(delay int, f func())
Types ¶
type Config ¶
type Config struct { File *ConfigFile Env map[string]string }
func (*Config) PlayMaxWait ¶ added in v1.1.0
func (*Config) RecordCommand ¶ added in v1.0.0
func (*Config) RecordMaxWait ¶ added in v1.0.0
type ConfigFile ¶ added in v1.0.0
type ConfigFile struct { API ConfigAPI Record ConfigRecord Play ConfigPlay User ConfigUser // old location of token }
type ConfigPlay ¶ added in v1.1.0
type ConfigPlay struct {
MaxWait uint
}
type ConfigRecord ¶ added in v1.0.0
type ConfigUser ¶ added in v1.0.0
type ConfigUser struct {
Token string
}
Click to show internal directories.
Click to hide internal directories.