Fix ResponseBuilder interface
This commit is contained in:
parent
052eb1ed56
commit
33f2e8dfdd
@ -68,7 +68,7 @@ func (*Response[RSB]) ResponseBuilder() ResponseBuilder {
|
|||||||
type ResponseBuilder interface {
|
type ResponseBuilder interface {
|
||||||
mustEmbedDefaultResponseBuilder()
|
mustEmbedDefaultResponseBuilder()
|
||||||
New() (rsb ResponseBuilder)
|
New() (rsb ResponseBuilder)
|
||||||
Header(header Header) (err Error)
|
Header(map[string][]string) (err Error)
|
||||||
Write(body []byte) (err Error)
|
Write(body []byte) (err Error)
|
||||||
Response() *response
|
Response() *response
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user