throttlerdata

package
v2.0.0-rc.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package throttlerdata is a generated protocol buffer package.

It is generated from these files:

throttlerdata.proto

It has these top-level messages:

MaxRatesRequest
MaxRatesResponse
SetMaxRateRequest
SetMaxRateResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaxRatesRequest

type MaxRatesRequest struct {
}

MaxRatesRequest is the payload for the MaxRates RPC.

func (*MaxRatesRequest) Descriptor

func (*MaxRatesRequest) Descriptor() ([]byte, []int)

func (*MaxRatesRequest) ProtoMessage

func (*MaxRatesRequest) ProtoMessage()

func (*MaxRatesRequest) Reset

func (m *MaxRatesRequest) Reset()

func (*MaxRatesRequest) String

func (m *MaxRatesRequest) String() string

type MaxRatesResponse

type MaxRatesResponse struct {
	// max_rates returns the max rate for each throttler. It's keyed by the
	// throttler name.
	Rates map[string]int64 `` /* 131-byte string literal not displayed */
}

MaxRatesResponse is returned by the MaxRates RPC.

func (*MaxRatesResponse) Descriptor

func (*MaxRatesResponse) Descriptor() ([]byte, []int)

func (*MaxRatesResponse) GetRates

func (m *MaxRatesResponse) GetRates() map[string]int64

func (*MaxRatesResponse) ProtoMessage

func (*MaxRatesResponse) ProtoMessage()

func (*MaxRatesResponse) Reset

func (m *MaxRatesResponse) Reset()

func (*MaxRatesResponse) String

func (m *MaxRatesResponse) String() string

type SetMaxRateRequest

type SetMaxRateRequest struct {
	Rate int64 `protobuf:"varint,1,opt,name=rate" json:"rate,omitempty"`
}

SetMaxRateRequest is the payload for the SetMaxRate RPC.

func (*SetMaxRateRequest) Descriptor

func (*SetMaxRateRequest) Descriptor() ([]byte, []int)

func (*SetMaxRateRequest) ProtoMessage

func (*SetMaxRateRequest) ProtoMessage()

func (*SetMaxRateRequest) Reset

func (m *SetMaxRateRequest) Reset()

func (*SetMaxRateRequest) String

func (m *SetMaxRateRequest) String() string

type SetMaxRateResponse

type SetMaxRateResponse struct {
	// names is the list of throttler names which were updated.
	Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
}

SetMaxRateResponse is returned by the SetMaxRate RPC.

func (*SetMaxRateResponse) Descriptor

func (*SetMaxRateResponse) Descriptor() ([]byte, []int)

func (*SetMaxRateResponse) ProtoMessage

func (*SetMaxRateResponse) ProtoMessage()

func (*SetMaxRateResponse) Reset

func (m *SetMaxRateResponse) Reset()

func (*SetMaxRateResponse) String

func (m *SetMaxRateResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL