Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCertLocation = "./certs/cert.pem" DefaultKeyLocation = "./certs/key.pem" )
Webserver Constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { Deployment string Job string Index string IP string ValueMetrics map[string]float64 CounterMetrics map[string]float64 }
Resource represents cloud controller data
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
WebServer REST endpoint for sending data
func New ¶
func New(config *nozzleconfiguration.NozzleConfiguration, logger *gosteno.Logger) *WebServer
New creates a new WebServer
func (*WebServer) CacheEnvelope ¶
CacheEnvelope caches envelope by origin
func (*WebServer) ClearCache ¶
func (webserver *WebServer) ClearCache()
ClearCache clears out cache for server
func (*WebServer) TokenTimeout ¶
TokenTimeout is a callback for when a token timesout to remove
Click to show internal directories.
Click to hide internal directories.