Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultQPS is default qps of grpc server. DefaultQPS = 10 * 1000 // DefaultBurst is default burst of grpc server. DefaultBurst = 20 * 1000 )
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v2.0.1
func New(svr schedulerv1.SchedulerServer, opts ...grpc.ServerOption) *grpc.Server
New returns a grpc server instance and register service on grpc server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.