Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MultiProcMetadata is the field used to indicate that MultiProc map mode is enabled // The value contains the number of servers spawned. MultiProcMetadata = "MULTIPROC" // MapModeMetadata field is used to indicate which map mode is enabled // If none is set, we consider unary map as default MapModeMetadata = "MAP_MODE" )
Metadata keys used in the server info file
Variables ¶
This section is empty.
Functions ¶
func SDKServerInfo ¶
func SDKServerInfo(inputOptions ...Option) (*info.ServerInfo, error)
SDKServerInfo wait for the server to start and return the server info.
Types ¶
type Option ¶
type Option func(*Options)
Option is the interface to apply Options.
func WithServerInfoFilePath ¶
WithServerInfoFilePath sets the server info file path to the given path.
func WithServerInfoReadinessTimeout ¶
WithServerInfoReadinessTimeout sets the server info readiness timeout to the given timeout.
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func (*Options) ServerInfoFilePath ¶
ServerInfoFilePath returns the server info file path.
func (*Options) ServerInfoReadinessTimeout ¶
ServerInfoReadinessTimeout returns the server info readiness timeout.
Click to show internal directories.
Click to hide internal directories.