Documentation ¶
Overview ¶
Package app responsible for application entry point.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
Dispatcher acts as en entry point for the application.
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer is an interface for handling HTTP connections.
func NewHTTPServer ¶
func NewHTTPServer(config config.Configuration, analyzer *analysis.Analyzer) *HTTPServer
NewHTTPServer allocates and returns a new HTTPServer to handle HTTP connections.
func (*HTTPServer) Start ¶
func (s *HTTPServer) Start()
Start initiates routes configuration, and starts listening.
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy orchestrates the interactions between the server and client, and collection of analysis data.
func NewProxy ¶
func NewProxy( config config.Configuration, analyzer *analysis.Analyzer, saver *persistence.Saver, ) *Proxy
NewProxy allocates and returns a new Proxy to handle connections forwarding/reversing.
Click to show internal directories.
Click to hide internal directories.