Help us shape the future of Go! Take the 2026 Go Developer Survey

cofide_wimse_server

package
v0.0.0-...-7984a60 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 21 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 {
	*spirehelper.SpireHelper
	// contains filtered or unexported fields
}

func NewServer

func NewServer(server *http.Server, opts ...ServerOption) *Server

func (*Server) Close

func (w *Server) Close() error

func (*Server) GetJWTAuthority

func (s *Server) GetJWTAuthority(id spiffeid.ID) (crypto.PublicKey, error)

func (*Server) GetWITSVID

func (c *Server) GetWITSVID() (*pb.WITSVID, error)

func (*Server) ListenAndServe

func (w *Server) ListenAndServe() error

func (*Server) ListenAndServeTLS

func (w *Server) ListenAndServeTLS(_, _ string) error

func (*Server) RegisterOnShutdown

func (w *Server) RegisterOnShutdown(f func())

func (*Server) Serve

func (w *Server) Serve(l net.Listener) error

func (*Server) ServeTLS

func (w *Server) ServeTLS(l net.Listener, _, _ string) error

func (*Server) SetKeepAlivesEnabled

func (w *Server) SetKeepAlivesEnabled(v bool)

func (*Server) Shutdown

func (w *Server) Shutdown(ctx context.Context) error

type ServerOption

type ServerOption func(*Server)

func WithContext

func WithContext(ctx context.Context) ServerOption

func WithSVIDMatch

func WithSVIDMatch(funcs ...id.MatchFunc) ServerOption

func WithSpireAddress

func WithSpireAddress(addr string) ServerOption

Jump to

Keyboard shortcuts

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