brain/brain.go
2023-07-03 00:00:04 +08:00

16 lines
323 B
Go

package brain
import (
context "context"
"github.com/474420502/brain/pb"
)
// UnimplementedBrainServiceServer can be embedded to have forward compatible implementations.
type BrainService struct {
}
func (*BrainService) Add(context.Context, *pb.Request) (*pb.Response, error) {
return &pb.Response{Code: 200}, nil
}