server

package
v0.20.70 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ZitiInstanceId = "ziti-instance-id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientApiFactory added in v0.19.109

type ClientApiFactory struct {
	InitFunc func(clientApi *ClientApiHandler) error
	// contains filtered or unexported fields
}

func NewClientApiFactory added in v0.19.109

func NewClientApiFactory(appEnv *env.AppEnv) *ClientApiFactory

func (ClientApiFactory) Binding added in v0.19.109

func (factory ClientApiFactory) Binding() string

func (ClientApiFactory) New added in v0.19.109

func (factory ClientApiFactory) New(_ *xweb.WebListener, options map[interface{}]interface{}) (xweb.WebHandler, error)

func (ClientApiFactory) Validate added in v0.19.109

func (factory ClientApiFactory) Validate(config *xweb.Config) error

type ClientApiHandler added in v0.19.109

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

func NewClientApiHandler added in v0.19.109

func NewClientApiHandler(ae *env.AppEnv, options map[interface{}]interface{}) (*ClientApiHandler, error)

func (ClientApiHandler) Binding added in v0.19.109

func (clientApi ClientApiHandler) Binding() string

func (ClientApiHandler) IsHandler added in v0.19.109

func (clientApi ClientApiHandler) IsHandler(r *http.Request) bool

func (ClientApiHandler) Options added in v0.19.109

func (clientApi ClientApiHandler) Options() map[interface{}]interface{}

func (ClientApiHandler) RootPath added in v0.19.109

func (clientApi ClientApiHandler) RootPath() string

func (ClientApiHandler) ServeHTTP added in v0.19.109

func (clientApi ClientApiHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

type Controller

type Controller struct {
	AppEnv *env.AppEnv
	// contains filtered or unexported fields
}

func NewController

func NewController(cfg config.Configurable) (*Controller, error)

func (*Controller) Enabled

func (c *Controller) Enabled() bool

func (*Controller) GetCtrlHandlers

func (c *Controller) GetCtrlHandlers(ch channel2.Channel) []channel2.ReceiveHandler

func (*Controller) GetMgmtHandlers

func (c *Controller) GetMgmtHandlers() []channel2.ReceiveHandler

func (*Controller) Initialize

func (c *Controller) Initialize()

func (*Controller) IsEnabled

func (c *Controller) IsEnabled() bool

func (*Controller) LoadConfig

func (c *Controller) LoadConfig(cfgmap map[interface{}]interface{}) error

func (*Controller) Run

func (c *Controller) Run()

func (*Controller) SetHostController

func (c *Controller) SetHostController(h env.HostController)

func (*Controller) Shutdown

func (c *Controller) Shutdown()

type ManagementApiFactory added in v0.19.109

type ManagementApiFactory struct {
	InitFunc func(managementApi *ManagementApiHandler) error
	// contains filtered or unexported fields
}

func NewManagementApiFactory added in v0.19.109

func NewManagementApiFactory(appEnv *env.AppEnv) *ManagementApiFactory

func (ManagementApiFactory) Binding added in v0.19.109

func (factory ManagementApiFactory) Binding() string

func (ManagementApiFactory) New added in v0.19.109

func (factory ManagementApiFactory) New(_ *xweb.WebListener, options map[interface{}]interface{}) (xweb.WebHandler, error)

func (ManagementApiFactory) Validate added in v0.19.109

func (factory ManagementApiFactory) Validate(_ *xweb.Config) error

type ManagementApiHandler added in v0.19.109

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

func NewManagementApiHandler added in v0.19.109

func NewManagementApiHandler(ae *env.AppEnv, options map[interface{}]interface{}) (*ManagementApiHandler, error)

func (ManagementApiHandler) Binding added in v0.19.109

func (managementApi ManagementApiHandler) Binding() string

func (ManagementApiHandler) IsHandler added in v0.19.109

func (managementApi ManagementApiHandler) IsHandler(r *http.Request) bool

func (ManagementApiHandler) Options added in v0.19.109

func (managementApi ManagementApiHandler) Options() map[interface{}]interface{}

func (ManagementApiHandler) RootPath added in v0.19.109

func (managementApi ManagementApiHandler) RootPath() string

func (ManagementApiHandler) ServeHTTP added in v0.19.109

func (managementApi ManagementApiHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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