connector

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpine

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

func (*Alpine) GetActionHeader

func (x *Alpine) GetActionHeader() string

func (*Alpine) GetActionValue

func (x *Alpine) GetActionValue(r *http.Request) string

func (*Alpine) GetSelectHeader

func (x *Alpine) GetSelectHeader() string

func (*Alpine) GetSelectValue

func (x *Alpine) GetSelectValue(r *http.Request) string

func (*Alpine) GetTargetHeader

func (x *Alpine) GetTargetHeader() string

func (*Alpine) GetTargetValue

func (x *Alpine) GetTargetValue(r *http.Request) string

func (*Alpine) RenderPartial

func (a *Alpine) RenderPartial(r *http.Request) bool

type AlpineAjax

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

func (*AlpineAjax) GetActionHeader

func (x *AlpineAjax) GetActionHeader() string

func (*AlpineAjax) GetActionValue

func (x *AlpineAjax) GetActionValue(r *http.Request) string

func (*AlpineAjax) GetSelectHeader

func (x *AlpineAjax) GetSelectHeader() string

func (*AlpineAjax) GetSelectValue

func (x *AlpineAjax) GetSelectValue(r *http.Request) string

func (*AlpineAjax) GetTargetHeader

func (x *AlpineAjax) GetTargetHeader() string

func (*AlpineAjax) GetTargetValue

func (x *AlpineAjax) GetTargetValue(r *http.Request) string

func (*AlpineAjax) RenderPartial

func (a *AlpineAjax) RenderPartial(r *http.Request) bool

type Config

type Config struct {
	UseURLQuery bool
}

type Connector

type Connector interface {
	RenderPartial(r *http.Request) bool
	GetTargetValue(r *http.Request) string
	GetSelectValue(r *http.Request) string
	GetActionValue(r *http.Request) string

	GetTargetHeader() string
	GetSelectHeader() string
	GetActionHeader() string
}

func NewAlpine

func NewAlpine(c *Config) Connector

func NewAlpineAjax

func NewAlpineAjax(c *Config) Connector

func NewHTMX

func NewHTMX(c *Config) Connector

func NewPartial

func NewPartial(c *Config) Connector

func NewStimulus

func NewStimulus(c *Config) Connector

func NewTurbo

func NewTurbo(c *Config) Connector

func NewUnpoly

func NewUnpoly(c *Config) Connector

func NewVue

func NewVue(c *Config) Connector

type HTMX

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

func (*HTMX) GetActionHeader

func (x *HTMX) GetActionHeader() string

func (*HTMX) GetActionValue

func (x *HTMX) GetActionValue(r *http.Request) string

func (*HTMX) GetSelectHeader

func (x *HTMX) GetSelectHeader() string

func (*HTMX) GetSelectValue

func (x *HTMX) GetSelectValue(r *http.Request) string

func (*HTMX) GetTargetHeader

func (x *HTMX) GetTargetHeader() string

func (*HTMX) GetTargetValue

func (x *HTMX) GetTargetValue(r *http.Request) string

func (*HTMX) RenderPartial

func (h *HTMX) RenderPartial(r *http.Request) bool

type Partial

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

func (*Partial) GetActionHeader

func (x *Partial) GetActionHeader() string

func (*Partial) GetActionValue

func (x *Partial) GetActionValue(r *http.Request) string

func (*Partial) GetSelectHeader

func (x *Partial) GetSelectHeader() string

func (*Partial) GetSelectValue

func (x *Partial) GetSelectValue(r *http.Request) string

func (*Partial) GetTargetHeader

func (x *Partial) GetTargetHeader() string

func (*Partial) GetTargetValue

func (x *Partial) GetTargetValue(r *http.Request) string

func (*Partial) RenderPartial

func (x *Partial) RenderPartial(r *http.Request) bool

type Stimulus

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

func (*Stimulus) GetActionHeader

func (x *Stimulus) GetActionHeader() string

func (*Stimulus) GetActionValue

func (x *Stimulus) GetActionValue(r *http.Request) string

func (*Stimulus) GetSelectHeader

func (x *Stimulus) GetSelectHeader() string

func (*Stimulus) GetSelectValue

func (x *Stimulus) GetSelectValue(r *http.Request) string

func (*Stimulus) GetTargetHeader

func (x *Stimulus) GetTargetHeader() string

func (*Stimulus) GetTargetValue

func (x *Stimulus) GetTargetValue(r *http.Request) string

func (*Stimulus) RenderPartial

func (s *Stimulus) RenderPartial(r *http.Request) bool

type Turbo

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

func (*Turbo) GetActionHeader

func (x *Turbo) GetActionHeader() string

func (*Turbo) GetActionValue

func (x *Turbo) GetActionValue(r *http.Request) string

func (*Turbo) GetSelectHeader

func (x *Turbo) GetSelectHeader() string

func (*Turbo) GetSelectValue

func (x *Turbo) GetSelectValue(r *http.Request) string

func (*Turbo) GetTargetHeader

func (x *Turbo) GetTargetHeader() string

func (*Turbo) GetTargetValue

func (x *Turbo) GetTargetValue(r *http.Request) string

func (*Turbo) RenderPartial

func (x *Turbo) RenderPartial(r *http.Request) bool

type Unpoly

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

func (*Unpoly) GetActionHeader

func (x *Unpoly) GetActionHeader() string

func (*Unpoly) GetActionValue

func (x *Unpoly) GetActionValue(r *http.Request) string

func (*Unpoly) GetSelectHeader

func (x *Unpoly) GetSelectHeader() string

func (*Unpoly) GetSelectValue

func (x *Unpoly) GetSelectValue(r *http.Request) string

func (*Unpoly) GetTargetHeader

func (x *Unpoly) GetTargetHeader() string

func (*Unpoly) GetTargetValue

func (x *Unpoly) GetTargetValue(r *http.Request) string

func (*Unpoly) RenderPartial

func (u *Unpoly) RenderPartial(r *http.Request) bool

type Vue

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

func (*Vue) GetActionHeader

func (x *Vue) GetActionHeader() string

func (*Vue) GetActionValue

func (x *Vue) GetActionValue(r *http.Request) string

func (*Vue) GetSelectHeader

func (x *Vue) GetSelectHeader() string

func (*Vue) GetSelectValue

func (x *Vue) GetSelectValue(r *http.Request) string

func (*Vue) GetTargetHeader

func (x *Vue) GetTargetHeader() string

func (*Vue) GetTargetValue

func (x *Vue) GetTargetValue(r *http.Request) string

func (*Vue) RenderPartial

func (v *Vue) RenderPartial(r *http.Request) bool

Jump to

Keyboard shortcuts

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