17 lines
476 B
Plaintext
17 lines
476 B
Plaintext
// Code generated by gen-struct. DO NOT EDIT.
|
|
// make gen-service generated
|
|
|
|
package dao
|
|
|
|
import (
|
|
"gitee.com/wheat-os/wheatCache/pkg/proto"
|
|
protobuf "google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
type Interface interface {
|
|
{%for key in keys %}
|
|
{{key.method}}({% for req in key.option %} {{req[1]}}, {% endfor %}) ({% if key.external == False %} *proto.{{key.method}}Response {% else %} interface{} {% endif %}, error)
|
|
{%- endfor %}
|
|
ExecMessage(message protobuf.Message) error
|
|
}
|