http

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.0.27

type Config struct {
	ServeStatic bool
	StaticPath  string
}

Config defines configuration options for the HTTP service

type LDAPManagerService added in v0.0.27

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

LDAPManagerService implements the HTTP service

func NewLDAPManagerService added in v0.0.27

func NewLDAPManagerService(ctx context.Context, upstream *grpc.ClientConn, config *Config) (*LDAPManagerService, error)

NewLDAPManagerService builds the service

func (*LDAPManagerService) Serve added in v0.0.27

func (s *LDAPManagerService) Serve(listener net.Listener) error

Serve serves the service on a listener

func (*LDAPManagerService) SetHealthy added in v0.0.29

func (s *LDAPManagerService) SetHealthy(healthy bool)

SetHealthy sets the health state for the service

func (*LDAPManagerService) Shutdown added in v0.0.27

func (s *LDAPManagerService) Shutdown()

Shutdown gracefully stops the service

Jump to

Keyboard shortcuts

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