actionpack

package module
v0.0.0-...-b970022 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package actionpack is the root of go-ruby-actionpack, a pure-Go, CGO-free port of Rails' ActionPack faithful to MRI/Rails 4.0.5-era semantics, for use on its own and as the substrate of a future rbgo binding.

The library is organised into subpackages mirroring the ActionPack namespaces:

  • routing: ActionDispatch::Routing — the routing DSL, the compiled route set, request recognition, and reverse-routing path helpers.
  • controller: AbstractController::Base / ActionController::Metal — the dispatch core with filters, rescue_from, and render/redirect/head seams.
  • parameters: ActionController::Parameters — strong parameters.
  • dispatch: ActionDispatch's Request/Response over the reused go-ruby-rack primitives, with path parameters, merged params, and format negotiation.

See the package documentation of each subpackage and the repository README for the v0.1 scope and the roadmap of deferred functionality (view rendering, sessions/cookies/flash, CSRF, caching, and the full Journey constraint engine).

Directories

Path Synopsis
Package controller is a pure-Go, CGO-free port of the AbstractController and ActionController::Metal dispatch core: a controller class model with action dispatch, before/after/around filters (with only/except/if/unless conditions), rescue_from error handling, and render/redirect_to/head as seams over the deferred view layer.
Package controller is a pure-Go, CGO-free port of the AbstractController and ActionController::Metal dispatch core: a controller class model with action dispatch, before/after/around filters (with only/except/if/unless conditions), rescue_from error handling, and render/redirect_to/head as seams over the deferred view layer.
Package dispatch is the pure-Go, CGO-free analogue of ActionDispatch's HTTP layer: a Request and Response wrapping the reused go-ruby-rack primitives, augmented with routing path parameters, a merged strong-parameters view, and content-type format negotiation.
Package dispatch is the pure-Go, CGO-free analogue of ActionDispatch's HTTP layer: a Request and Response wrapping the reused go-ruby-rack primitives, augmented with routing path parameters, a merged strong-parameters view, and content-type format negotiation.
Package parameters is a pure-Go, CGO-free port of ActionController::Parameters (Rails "strong parameters"), faithful to MRI/Rails 4.0.5-era semantics of require / permit / permitted? / to_h.
Package parameters is a pure-Go, CGO-free port of ActionController::Parameters (Rails "strong parameters"), faithful to MRI/Rails 4.0.5-era semantics of require / permit / permitted? / to_h.

Jump to

Keyboard shortcuts

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