Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalServer ¶
type LocalServer struct {
// contains filtered or unexported fields
}
LocalServer runs a gluon server in the same process as the benchmark process.
func (*LocalServer) Address ¶
func (l *LocalServer) Address() net.Addr
type LocalServerBuilder ¶
type LocalServerBuilder struct{}
func (*LocalServerBuilder) New ¶
func (*LocalServerBuilder) New(ctx context.Context, serverPath string, profiler profiling.CmdProfilerBuilder) (Server, error)
type RemoteServer ¶
type RemoteServer struct {
// contains filtered or unexported fields
}
RemoteServer can't control the start or stopping of the server but can still be used to run the benchmarks against an existing server.
func (*RemoteServer) Address ¶
func (r *RemoteServer) Address() net.Addr
type RemoteServerBuilder ¶
type RemoteServerBuilder struct {
// contains filtered or unexported fields
}
func NewRemoteServerBuilder ¶
func NewRemoteServerBuilder(address string) (*RemoteServerBuilder, error)
func (*RemoteServerBuilder) New ¶
func (r *RemoteServerBuilder) New(ctx context.Context, serverPath string, profiler profiling.CmdProfilerBuilder) (Server, error)
type ServerBuilder ¶
Click to show internal directories.
Click to hide internal directories.