httpd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 38 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCookie

type AuthCookie struct {
	Username  string
	ExpiresAt time.Time
}

type HtmlWriter

type HtmlWriter interface {
	WriteHtml(writer io.Writer)
}

type Server

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

func StartServer

func StartServer(staticConfig *staticconfiguration.StaticConfiguration,
	userInfo userinfo.UserInfo, brokers map[string]broker.Broker,
	logger log.DebugLogger) (*Server, error)

func (*Server) AddHtmlWriter

func (s *Server) AddHtmlWriter(htmlWriter HtmlWriter)

func (*Server) GetIsReady

func (s *Server) GetIsReady() bool

func (*Server) JWTClaims

func (s *Server) JWTClaims(t *jwt.JSONWebToken, dest ...interface{}) (err error)

Next are the functions for checking the callback

func (*Server) StartServicePort

func (s *Server) StartServicePort() error

func (*Server) UpdateConfiguration

func (s *Server) UpdateConfiguration(
	config *configuration.Configuration) error

Jump to

Keyboard shortcuts

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