server

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SseServer

type SseServer struct {
	Endpoint string
	Stream   string

	Mux *http.ServeMux
	// contains filtered or unexported fields
}

func NewSseServer

func NewSseServer(endpoint, stream string) *SseServer

func (*SseServer) Publish

func (s *SseServer) Publish(data []byte)

Jump to

Keyboard shortcuts

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