mirror of
https://github.com/netscrawler/changeAPI.git
synced 2026-09-05 08:29:36 +00:00
v0.0.6
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package cnvrt
|
||||
|
||||
import (
|
||||
"context"
|
||||
cnvrtv1 "github.com/netscrawler/protos/gen/go/changeAPI"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
type serverAPI struct {
|
||||
cnvrtv1.UnimplementedConverterServer
|
||||
}
|
||||
|
||||
func Register(gRPC *grpc.Server) {
|
||||
cnvrtv1.RegisterConverterServer(gRPC, &serverAPI{})
|
||||
}
|
||||
|
||||
func (s serverAPI) Convert(
|
||||
ctx context.Context,
|
||||
req *cnvrtv1.ConvertRequest) (
|
||||
*cnvrtv1.ConvertResponse, error) {
|
||||
panic("implement me")
|
||||
}
|
||||
Reference in New Issue
Block a user