wheat-cache/storage/temp/dao.template

17 lines
410 B
Plaintext
Raw Normal View History

2021-10-27 21:38:31 +08:00
// Code generated by gen-struct. DO NOT EDIT.
// make gen-service generated
package dao
2021-11-02 20:35:28 +08:00
import (
"gitee.com/wheat-os/wheatCache/pkg/proto"
protobuf "google.golang.org/protobuf/proto"
)
2021-10-27 21:38:31 +08:00
type Interface interface {
{%for key in keys %}
2021-10-27 23:15:48 +08:00
{{key.method}}({% for req in key.option %} {{req[1]}}, {% endfor %}) (*proto.{{key.method}}Response, error)
2021-10-27 21:38:31 +08:00
{%- endfor %}
2021-11-02 20:35:28 +08:00
ExecMessage(message protobuf.Message) error
2021-10-27 21:38:31 +08:00
}