Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MeterServiceName = "MeterService"
)
View Source
var ( MeterServiceServerEndpoints = []v3.EndpointMetadata{ { Name: "MeterService.Metrics", Path: "/metrics", Method: "GET", Body: "", Stream: false, }, } )
Functions ¶
func RegisterMeterServiceServer ¶
func RegisterMeterServiceServer(s server.Server, sh MeterServiceServer, opts ...server.HandlerOption) error
Types ¶
type MeterServiceClient ¶ added in v3.10.31
type MeterServiceClient interface {
Metrics(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error)
}
func NewMeterServiceClient ¶ added in v3.10.31
func NewMeterServiceClient(name string, c client.Client) MeterServiceClient
type MeterServiceServer ¶
type Option ¶
type Option func(*Options)
func DisableCompress ¶ added in v3.10.31
func MeterOptions ¶
Click to show internal directories.
Click to hide internal directories.