brain/brain.go

16 lines
323 B
Go
Raw Normal View History

2023-07-02 16:00:04 +00:00
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
}