kratos
kratos copied to clipboard
feat(transport/grpc,contrib): add NewClient method to gRPC client(#3312)
Description (what this PR does / why we need it):
- because the gRPC 1.63 x and subsequent versions plan to abolish the Dial method, so implement NewClient, NewClientInsecure method, annotation and abandoned the original Dial, DialInsecure method
- the change to adjust relevant test cases as well as the method of document
Which issue(s) this PR fixes (resolves / be part of):
resolves: #3312