Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvKeyServiceName = "TUFIN_SABIK_SERVICE_NAME" EnvKeyTufinURL = "TUFIN_SABIK_URL" EnvKeyEnable = "TUFIN_SABIK_ENABLE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyMiddleware ¶
type EmptyMiddleware struct{}
type Middleware ¶
func CreateMiddleware ¶
func CreateMiddleware() Middleware
type ResponseRecorder ¶
type ResponseRecorder struct { Body *bytes.Buffer StatusCode int // contains filtered or unexported fields }
func NewResponseRecorder ¶
func NewResponseRecorder(writer http.ResponseWriter) *ResponseRecorder
func (*ResponseRecorder) Header ¶
func (rw *ResponseRecorder) Header() http.Header
func (*ResponseRecorder) WriteHeader ¶
func (rw *ResponseRecorder) WriteHeader(statusCode int)
type SabikMiddleware ¶
type SabikMiddleware struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.