working commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package operator
|
||||
|
||||
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{}
|
||||
oper.logg.Debugf("Call GetVersion")
|
||||
return res, code, err
|
||||
}
|
||||
Reference in New Issue
Block a user