Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶ added in v1.275.0
type Handler struct {
// contains filtered or unexported fields
}
Handler for HTTP.
func NewHandler ¶ added in v1.275.0
NewHandler for HTTP.
func (*Handler) Migrate ¶ added in v1.275.0
func (h *Handler) Migrate(ctx context.Context, req *MigrateRequest) (*MigrateResponse, error)
Migrate for HTTP.
type MigrateRequest ¶
type MigrateRequest struct { Database string `json:"database,omitempty"` Version uint64 `json:"version,omitempty"` }
MigrateRequest for a specific database and version.
type MigrateResponse ¶
type MigrateResponse struct { Meta map[string]string `json:"meta,omitempty"` Migration *Migration `json:"migration,omitempty"` }
MigrateResponse for a specific database and version.
Click to show internal directories.
Click to hide internal directories.