Compare commits
11 Commits
36788b5fbf
...
1b65507fe5
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b65507fe5 | |||
| 40b5402aa5 | |||
|
|
e8b7e30e4d | ||
| 55e7e3d61d | |||
|
|
d75c36938a | ||
| a7cec360e9 | |||
|
|
3978256931 | ||
| 6dfff28203 | |||
|
|
373acda151 | ||
| 3f9ed4e83b | |||
|
|
0486780f36 |
15
go.mod
15
go.mod
@@ -1,8 +1,17 @@
|
||||
module go.unistack.org/micro-client-grpc/v3
|
||||
|
||||
go 1.16
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
go.unistack.org/micro/v3 v3.10.14
|
||||
google.golang.org/grpc v1.52.3
|
||||
go.unistack.org/micro/v3 v3.10.22
|
||||
google.golang.org/grpc v1.55.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/golang/protobuf v1.5.3 // indirect
|
||||
golang.org/x/net v0.8.0 // indirect
|
||||
golang.org/x/sys v0.6.0 // indirect
|
||||
golang.org/x/text v0.8.0 // indirect
|
||||
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
|
||||
google.golang.org/protobuf v1.30.0 // indirect
|
||||
)
|
||||
|
||||
@@ -95,8 +95,8 @@ func MaxSendMsgSize(s int) client.Option {
|
||||
type grpcDialOptions struct{}
|
||||
|
||||
// DialOptions to be used to configure gRPC dial options
|
||||
func DialOptions(opts ...grpc.DialOption) client.CallOption {
|
||||
return func(o *client.CallOptions) {
|
||||
func DialOptions(opts ...grpc.DialOption) client.Option {
|
||||
return func(o *client.Options) {
|
||||
if o.Context == nil {
|
||||
o.Context = context.Background()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user