Documentation
¶
Index ¶
- type SQLiteRouter
- func (SQLiteRouter) CaddyModule() caddy.ModuleInfo
- func (m *SQLiteRouter) Cleanup() error
- func (m *SQLiteRouter) Provision(ctx caddy.Context) error
- func (m SQLiteRouter) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *SQLiteRouter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteRouter ¶
type SQLiteRouter struct {
DBPath string `json:"db_path,omitempty"`
Query string `json:"query,omitempty"`
// contains filtered or unexported fields
}
func (SQLiteRouter) CaddyModule ¶
func (SQLiteRouter) CaddyModule() caddy.ModuleInfo
func (*SQLiteRouter) Cleanup ¶
func (m *SQLiteRouter) Cleanup() error
func (SQLiteRouter) ServeHTTP ¶
func (m SQLiteRouter) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*SQLiteRouter) UnmarshalCaddyfile ¶
func (m *SQLiteRouter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Click to show internal directories.
Click to hide internal directories.