Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphQLRequest ¶
type PGRestHandler ¶
type PGRestHandler struct {
// "postgres://user:password@localhost:5432/dbname"
PgUrl string `json:"pgurl,omitempty"`
TableName string `json:"table_name,omitempty"`
// contains filtered or unexported fields
}
func (PGRestHandler) CaddyModule ¶
func (PGRestHandler) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*PGRestHandler) Provision ¶
func (m *PGRestHandler) Provision(ctx caddy.Context) error
Provision implements caddy.Provisioner.
func (*PGRestHandler) ServeHTTP ¶
func (m *PGRestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
ServeHTTP implements caddyhttp.MiddlewareHandler.
func (*PGRestHandler) Validate ¶
func (m *PGRestHandler) Validate() error
Validate implements caddy.Validator.
Click to show internal directories.
Click to hide internal directories.