sessions

package
v0.0.0-...-2bf50d5 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	ID string
	// contains filtered or unexported fields
}

Server is the main session server

func NewServer

func NewServer(id string, metricsCollector *instrumentation.MetricsCollector, amqpURL string, amqpUser string, amqpPass string, redisURL string, redisPass string, prometheusURL string, tokenCookieDomain string, tokenCookieSecure bool, allowedOrigin string) (*Server, error)

NewServer creates a new session server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP satisfies the http handler interface

Jump to

Keyboard shortcuts

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