shared

package
v0.0.0-...-c7f2103 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasParameters

func HasParameters(allParameters url.Values, parameters []string) bool

HasParameters returns if a query contains a list of parameters

func MakeHandlerForEndpoint

func MakeHandlerForEndpoint(e endpoint.Endpoint) *http_transport.Server

MakeHandlerForEndpoint makes a HTTP handler for a given handler

func SendMessage

func SendMessage(server *sse.Server, logger log.Logger, sseEvents string, channel uint, message string)

SendMessage sends a message "message" on channel "channel"

Types

This section is empty.

Jump to

Keyboard shortcuts

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