goflare

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 1 Imported by: 0

README ¶

GoFlare

Project Badges

GoFlare is a lightweight and flexible handler designed to help you build and deploy Go-based WebAssembly (WASM) and JavaScript bundles for Cloudflare Workers, Pages, or Functions.

It’s not a full framework — GoFlare is meant to fit into your existing toolchain. You can use it as a standalone build step or attach it to any build or deploy workflow you already have.


🚀 Features

  • Go → WASM/JS conversion made simple
  • Compatible with Cloudflare’s edge platforms (Workers, Pages, and Functions)
  • Integrates easily with CI/CD pipelines or other Go tools
  • Minimal dependencies and lightweight footprint
  • Provides a unified handler interface to hook into other builders or deployment systems

🧩 Example Usage

import "github.com/cdvelop/goflare"



Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Config ¶

type Config struct {
	AppRootDir                  string
	WebFilesRootRelative        string
	WebFilesSubRelative         string
	WebFilesSubRelativeJsOutput string
	Logger                      func(message ...any)
	CodingShortcut              string
	DebuggingShortcut           string
	ProductionShortcut          string
	Callback                    func(err error)
	CompilingArguments          func() []string
}

type Goflare ¶

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

func New ¶

func New() *Goflare

Jump to

Keyboard shortcuts

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