Documentation ¶
Index ¶
Constants ¶
This section is empty.
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.