handlers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIProxy

type APIProxy struct {
	Pool *pool.Pool
}

APIProxy - responds with information about whether the node is registered.

func (*APIProxy) ServeHTTP

func (h *APIProxy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateSession

type CreateSession struct {
	Pool          *pool.Pool
	ClientFactory jsonwire.ClientFactoryInterface
}

CreateSession - Receives requests to create session.

func (*CreateSession) ServeHTTP

func (h *CreateSession) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GridStatus added in v0.5.0

type GridStatus struct {
	Pool   *pool.Pool
	Config config.Config
}

GridStatus - Returns a status.

func (*GridStatus) ServeHTTP added in v0.5.0

func (h *GridStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RegisterNode

type RegisterNode struct {
	Pool *pool.Pool
}

RegisterNode - Receives requests to register nodes for persistent strategy.

func (*RegisterNode) ServeHTTP

func (h *RegisterNode) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UseSession

type UseSession struct {
	Pool  *pool.Pool
	Cache *pool.Cache
}

UseSession - Receives requests to use session.

func (*UseSession) ServeHTTP

func (h *UseSession) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Source Files

  • apiProxy.go
  • createSession.go
  • gridStatus.go
  • registerNode.go
  • useSession.go

Jump to

Keyboard shortcuts

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