26 lines
630 B
Go
26 lines
630 B
Go
/*
|
|
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
|
|
*
|
|
* This work is published and licensed under a Creative Commons
|
|
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
|
*
|
|
* Distribution of this work is permitted, but commercial use and
|
|
* modifications are strictly prohibited.
|
|
*/
|
|
package imageoper
|
|
|
|
import (
|
|
"context"
|
|
"net/http"
|
|
)
|
|
|
|
type GetVersionParams struct{}
|
|
type GetVersionResult struct{}
|
|
|
|
func (oper *Operator) GetVersion(ctx context.Context, params *GetVersionParams) (*GetVersionResult, int, error) {
|
|
var err error
|
|
code := http.StatusOK
|
|
res := &GetVersionResult{}
|
|
return res, code, err
|
|
}
|