Fix ResponseBuilder interface

This commit is contained in:
some 2024-10-10 15:01:55 -04:00
parent 052eb1ed56
commit 33f2e8dfdd
Signed by: some
GPG Key ID: 65D0589220B9BFC8

View File

@ -68,7 +68,7 @@ func (*Response[RSB]) ResponseBuilder() ResponseBuilder {
type ResponseBuilder interface {
mustEmbedDefaultResponseBuilder()
New() (rsb ResponseBuilder)
Header(header Header) (err Error)
Header(map[string][]string) (err Error)
Write(body []byte) (err Error)
Response() *response
}