Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPAuthzInput ¶ added in v0.0.15
type HTTPAuthzOutput ¶ added in v0.0.15
type HTTPAuthzOutput struct {
Deny bool `json:"deny"`
}
type Option ¶ added in v0.0.15
type Option func(cfg *Server)
func WithAuthzPolicy ¶ added in v0.0.15
func WithEnableGraphiQL ¶ added in v0.0.15
func WithEnableGraphiQL() Option
func WithEnv ¶ added in v0.0.17
func WithEnv(env interfaces.Env) Option
func WithResolver ¶ added in v0.0.15
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.