ssareducer

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *Config

type Option

type Option func(config *Config)

func WithCompileMethod

func WithCompileMethod(handler func(*ReducerCompiler, string) ([]string, error)) Option

func WithEmbedFS

func WithEmbedFS(fs embed.FS) Option

func WithFileExt

func WithFileExt(ext string, others ...string) Option

type ReducerCompiler

type ReducerCompiler struct {
	// contains filtered or unexported fields
}

func NewReducerCompiler

func NewReducerCompiler(base string, opts ...Option) *ReducerCompiler

func (*ReducerCompiler) Compile

func (r *ReducerCompiler) Compile() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL