Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProofMiddleware ¶
type ProofMiddleware struct {
// contains filtered or unexported fields
}
ProofMiddleware will hash the response and add a header. NOTE that this middleware will break Trailers added by calling code, after their WriteHeader() call.
func (*ProofMiddleware) ServeHTTP ¶
func (m *ProofMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProofWriter ¶
type ProofWriter struct {
http.ResponseWriter
// contains filtered or unexported fields
}
func (*ProofWriter) WriteHeader ¶
func (w *ProofWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.