Skip to content

Commit

Permalink
bonsai
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Aug 8, 2024
1 parent aa12743 commit c6cd028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grpcstub.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func NewServer(t TB, protopath string, opts ...Option) *Server {

// NewTLSServer returns a new server with registered secure *grpc.Server
func NewTLSServer(t TB, protopath string, cacert, cert, key []byte, opts ...Option) *Server {
t.Helper()
opts = append(opts, UseTLS(cacert, cert, key))
return NewServer(t, protopath, opts...)
}
Expand Down

0 comments on commit c6cd028

Please sign in to comment.