Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestProcessor ¶
type RequestProcessor struct {
// contains filtered or unexported fields
}
RequestProcessor handle incoming requests
func NewRequestProcessor ¶
func NewRequestProcessor(serverConfig config.Server, l lock.Lock, throttler throttler.Throttler) RequestProcessor
NewRequestProcessor create instance of request processor It main component of mort it handle all of requests
func (*RequestProcessor) Process ¶
func (r *RequestProcessor) Process(req *http.Request, obj *object.FileObject) *response.Response
Process handle incoming request and create response
Click to show internal directories.
Click to hide internal directories.