16 lines
323 B
Go
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
|
|
}
|