github.com/profzone/eden-framework@v1.0.10/pkg/courier/transport_http/interface.go (about) 1 package transport_http 2 3 import ( 4 "net/http" 5 ) 6 7 type IMethod interface { 8 Method() string 9 } 10 11 type IBytesGetter interface { 12 Bytes() []byte 13 } 14 15 type IPath interface { 16 Path() string 17 } 18 19 type IContentType interface { 20 ContentType() string 21 } 22 23 type IStatus interface { 24 Status() int 25 } 26 27 type IHttpRequestTransformer interface { 28 TransformHttpRequest(req *http.Request) 29 }