MCPcopy
hub / github.com/grpc/grpc-go / DefaultServerOptions

Function DefaultServerOptions

credentials/alts/alts.go:127–131  ·  view source on GitHub ↗

DefaultServerOptions creates a new ServerOptions object with the default values.

()

Source from the content-addressed store, hash-verified

125// DefaultServerOptions creates a new ServerOptions object with the default
126// values.
127func DefaultServerOptions() *ServerOptions {
128 return &ServerOptions{
129 HandshakerServiceAddress: hypervisorHandshakerServiceAddress,
130 }
131}
132
133// altsTC is the credentials required for authenticating a connection using ALTS.
134// It implements credentials.TransportCredentials interface.

Callers 8

mainFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92
TestInfoServerNameMethod · 0.85
TestCloneServerMethod · 0.85
TestInfoMethod · 0.85

Calls

no outgoing calls

Tested by 4

TestInfoServerNameMethod · 0.68
TestCloneServerMethod · 0.68
TestInfoMethod · 0.68