sse

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerSentEvents

type ServerSentEvents struct {
	*driver.NopRenderer
}

func New

func New() *ServerSentEvents

func (*ServerSentEvents) Render

func (s *ServerSentEvents) Render(w io.Writer, name string, data interface{}, c echo.Context) error

func (*ServerSentEvents) RenderBy added in v1.6.0

func (s *ServerSentEvents) RenderBy(w io.Writer, name string, _ func(string) ([]byte, error), data interface{}, c echo.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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