regen
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
8bc61c174d
commit
0e6f6b425c
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||||
//go:generate protoc -I./proto -I. --go-grpc_out=paths=source_relative:./proto --go_out=paths=source_relative:./proto --go-micro_out=components=micro|rpc,standalone=true,paths=source_relative:./gproto proto/test.proto
|
//go:generate protoc -I./proto -I. --go-grpc_out=paths=source_relative:./proto --go_out=paths=source_relative:./proto --go-micro_out=components=micro|rpc,standalone=true,paths=source_relative:./gproto proto/test.proto
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package helloworld
|
package helloworld
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// - protoc-gen-go-grpc v1.2.0
|
||||||
|
// - protoc v3.19.1
|
||||||
|
// source: test.proto
|
||||||
|
|
||||||
package helloworld
|
package helloworld
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: github.proto
|
// source: github.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
@ -30,8 +30,8 @@ func (c *testServiceClient) TestEndpoint(ctx context.Context, req *Request, opts
|
|||||||
v3.Path("/users/test"),
|
v3.Path("/users/test"),
|
||||||
)
|
)
|
||||||
opts = append(opts,
|
opts = append(opts,
|
||||||
v3.Header("client_uid", "true"),
|
|
||||||
v3.Cookie("csrftoken", "true"),
|
v3.Cookie("csrftoken", "true"),
|
||||||
|
v3.Header("client_uid", "true"),
|
||||||
)
|
)
|
||||||
rsp := &Response{}
|
rsp := &Response{}
|
||||||
err := c.c.Call(ctx, c.c.NewRequest(c.name, "TestService.TestEndpoint", req), rsp, opts...)
|
err := c.c.Call(ctx, c.c.NewRequest(c.name, "TestService.TestEndpoint", req), rsp, opts...)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package helloworld
|
package helloworld
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// - protoc-gen-go-grpc v1.2.0
|
||||||
|
// - protoc v3.19.1
|
||||||
|
// source: test.proto
|
||||||
|
|
||||||
package helloworld
|
package helloworld
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
@ -111,8 +111,8 @@ func (c *testClient) Call(ctx context.Context, req *CallReq, opts ...client.Call
|
|||||||
v3.Body("*"),
|
v3.Body("*"),
|
||||||
)
|
)
|
||||||
opts = append(opts,
|
opts = append(opts,
|
||||||
v3.Cookie("Csrftoken", "true"),
|
|
||||||
v3.Header("Clientid", "true"),
|
v3.Header("Clientid", "true"),
|
||||||
|
v3.Cookie("Csrftoken", "true"),
|
||||||
)
|
)
|
||||||
opts = append(opts, client.WithRequestTimeout(time.Second*5))
|
opts = append(opts, client.WithRequestTimeout(time.Second*5))
|
||||||
rsp := &CallRsp{}
|
rsp := &CallRsp{}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.26.0
|
// protoc-gen-go v1.26.0
|
||||||
// protoc v3.17.3
|
// protoc v3.19.1
|
||||||
// source: test.proto
|
// source: test.proto
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
Loading…
Reference in New Issue
Block a user