Documentation ¶
Index ¶
- Variables
- func CheckArgCount(args []nitro.Value, min, max int) error
- func CloseReader(r io.Reader)
- func GetFloat(args []nitro.Value, n int) (nitro.Float, error)
- func GetInt(args []nitro.Value, n int) (nitro.Int, error)
- func GetReader(vm *nitro.VM, args []nitro.Value, n int) (nitro.Reader, error)
- func GetString(args []nitro.Value, n int) (nitro.String, error)
- type NativeReader
- type NativeWriter
- type Value2Structer
- type WriterBase
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotEnoughArgs = errors.New("not enough arguments")
View Source
var ErrTooManyArgs = errors.New("too many arguments")
View Source
var ErrWriterCallUsage = errors.New(
`invalid usage. Expected <writer>(reader)`)
Functions ¶
func CloseReader ¶
Types ¶
type NativeReader ¶
type NativeWriter ¶
type Value2Structer ¶
type Value2Structer struct {
// contains filtered or unexported fields
}
type WriterBase ¶
func NewWriterBase ¶
func NewWriterBase(w io.Writer) WriterBase
func (*WriterBase) String ¶
func (b *WriterBase) String() string
func (*WriterBase) Traits ¶ added in v0.3.0
func (b *WriterBase) Traits() vm.Traits
func (*WriterBase) Type ¶
func (b *WriterBase) Type() string
Click to show internal directories.
Click to hide internal directories.