File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 1
1
package renderer
2
2
3
3
import (
4
- "github.com/aaronvb/logrequest"
4
+ "sync"
5
+
6
+ "github.com/aaronvb/request_hole/pkg/protocol"
5
7
)
6
8
7
9
// Renderer contains the interface which our servers use to render the output.
8
10
type Renderer interface {
9
11
// Start is called when we start our server.
10
- Start ()
11
-
12
- // Fatal is used when we need to display a message and should always exit the CLI.
13
- Fatal (error )
14
-
15
- // IncomingRequest is called when we receive an incoming request to the server.
16
- IncomingRequest (logrequest.RequestFields , string )
17
-
18
- // IncomingRequestHeaders is called when the details flag is passed and we want to
19
- // render the headers.
20
- IncomingRequestHeaders (map [string ][]string )
12
+ Start (* sync.WaitGroup , chan protocol.RequestPayload , chan int )
21
13
}
You can’t perform that action at this time.
0 commit comments