Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPAuthzInput ¶
type HTTPAuthzOutput ¶
type HTTPAuthzOutput struct {
Deny bool `json:"deny"`
}
type Option ¶
type Option func(cfg *Server)
func WithAuthzPolicy ¶
func WithEnableGraphiQL ¶
func WithEnableGraphiQL() Option
func WithEnv ¶
func WithEnv(env interfaces.Env) Option
func WithResolver ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(hdlr interfaces.AlertHandler, options ...Option) *Server
type StatusCodeWriter ¶
type StatusCodeWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*StatusCodeWriter) WriteHeader ¶
func (x *StatusCodeWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.