Documentation ¶
Index ¶
- Variables
- func Compile(ctx context.Context, r io.Reader, outputFile string, opts ...ScanOption) error
- func CompileFile(ctx context.Context, input string, outputFile string, opts ...ScanOption) error
- func ConvertFiles(ctx context.Context, input string, output string) error
- func DebugPrintBytes(data []byte) error
- func DebugPrintReader(ctx context.Context, r io.Reader, opts ...ScanOption) error
- func PrintBytes(data []byte) error
- func Replay(ctx context.Context, kitefile string, kuid string, method string, path string, ...) error
- func ScanFile(ctx context.Context, filename string, opts ...ScanOption) error
- func ScanStdin(ctx context.Context, opts ...ScanOption) error
- type FileType
- type ScanOption
- type ScanOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportedFileType = errors.New("Unsupported filetype. Only supported extensions: txt, json, kite") ErrSameTypeNoConversion = errors.New("input and output filetype the same. no conversion performed") )
Functions ¶
func CompileFile ¶
func DebugPrintBytes ¶
func DebugPrintReader ¶
func PrintBytes ¶
Types ¶
type ScanOption ¶
type ScanOption func(o *ScanOptions)
func Debug ¶
func Debug(enabled bool) ScanOption
type ScanOptions ¶
type ScanOptions struct {
Debug bool
}
func NewDefaultScanOptions ¶
func NewDefaultScanOptions() *ScanOptions
Click to show internal directories.
Click to hide internal directories.