wheat-cache/storage/server/server.go

45 lines
980 B
Go
Raw Normal View History

2021-08-31 23:31:31 +08:00
package server
import (
context "context"
2021-09-18 16:05:20 +08:00
"gitee.com/timedb/wheatCache/pkg/proto"
2021-08-31 23:31:31 +08:00
)
2021-09-19 11:53:17 +08:00
type server struct {
}
2021-08-31 23:31:31 +08:00
func NewServer() proto.CommServerServer {
ser := &server{}
return ser
}
2021-09-19 11:53:17 +08:00
func (s *server) Get(
cxt context.Context,
req *proto.GetRequest,
) (*proto.CommendResponse, error) {
2021-09-21 20:59:48 +08:00
panic("implement me")
2021-09-19 11:53:17 +08:00
}
func (s *server) Set(
2021-08-31 23:31:31 +08:00
ctx context.Context,
2021-09-19 11:53:17 +08:00
req *proto.SetRequest,
2021-08-31 23:31:31 +08:00
) (*proto.CommendResponse, error) {
2021-09-21 20:59:48 +08:00
panic("implement me")
}
func (s *server) Add(ctx context.Context, request *proto.AddRequest) (*proto.CommendResponse, error) {
panic("implement me")
}
func (s *server) Reduce(ctx context.Context, request *proto.ReduceRequest) (*proto.CommendResponse, error) {
panic("implement me")
}
func (s *server) Setbit(ctx context.Context, request *proto.SetbitRequest) (*proto.CommendResponse, error) {
panic("implement me")
}
func (s *server) Getbit(ctx context.Context, request *proto.GetbitRequest) (*proto.CommendResponse, error) {
panic("implement me")
2021-08-31 23:31:31 +08:00
}