Documentation ¶
Index ¶
- func BufferArg(c *rt.GoCont, n int) (*bytes.Buffer, error)
- func BufferedReaderArg(c *rt.GoCont, n int) (*bufio.Reader, error)
- func BufferedWriterArg(c *rt.GoCont, n int) (*bufio.Writer, error)
- func LimitedReaderArg(c *rt.GoCont, n int) (*io.LimitedReader, error)
- func StringBuilderArg(c *rt.GoCont, n int) (*strings.Builder, error)
- func StringReaderArg(c *rt.GoCont, n int) (*strings.Reader, error)
- func ValueToBuffer(v rt.Value) (*bytes.Buffer, bool)
- func ValueToBufferedReader(v rt.Value) (*bufio.Reader, bool)
- func ValueToBufferedWriter(v rt.Value) (*bufio.Writer, bool)
- func ValueToLimitedReader(v rt.Value) (*io.LimitedReader, bool)
- func ValueToStringBuilder(v rt.Value) (*strings.Builder, bool)
- func ValueToStringReader(v rt.Value) (*strings.Reader, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferedReaderArg ¶
BufferedReaderArg turns a continuation argument into a *bufio.Reader.
func BufferedWriterArg ¶
BufferedWriterArg turns a continuation argument into a *bufio.Writer.
func LimitedReaderArg ¶
LimitedReaderArg turns a continuation argument into an *io.LimitedReader.
func StringBuilderArg ¶
StringBuilderArg turns a continuation argument into a *strings.Builder.
func StringReaderArg ¶
StringReaderArg turns a continuation argument into a *strings.Reader.
func ValueToBuffer ¶
ValueToBuffer turns a Lua value to a *bytes.Buffer if possible.
func ValueToBufferedReader ¶
ValueToBufferedReader turns a Lua value to a *bufio.Reader if possible.
func ValueToBufferedWriter ¶
ValueToBufferedWriter turns a Lua value to a *bufio.Writer if possible.
func ValueToLimitedReader ¶
func ValueToLimitedReader(v rt.Value) (*io.LimitedReader, bool)
ValueToLimitedReader turns a Lua value to an *io.LimitedReader if possible.
func ValueToStringBuilder ¶
ValueToStringBuilder turns a Lua value to a *strings.Builder if possible.
Types ¶
This section is empty.