api

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: GPL-3.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HealthCheckResponse_Status_name = map[int32]string{
	0: "STARTING",
	1: "ACTIVE",
	2: "INACTIVE",
}
View Source
var HealthCheckResponse_Status_value = map[string]int32{
	"STARTING": 0,
	"ACTIVE":   1,
	"INACTIVE": 2,
}

Functions

func RegisterAPIServiceServer

func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)

Types

type APIServiceClient

type APIServiceClient interface {
	// get the blockchain meta data
	GetMeta(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ChainMeta, error)
	// get candidates
	GetCandidates(ctx context.Context, in *GetCandidatesRequest, opts ...grpc.CallOption) (*CandidateResponse, error)
	// get candidate by name
	GetCandidateByName(ctx context.Context, in *GetCandidateByNameRequest, opts ...grpc.CallOption) (*Candidate, error)
	// get buckets by candidate
	GetBucketsByCandidate(ctx context.Context, in *GetBucketsByCandidateRequest, opts ...grpc.CallOption) (*BucketResponse, error)
	// get Buckets
	GetBuckets(ctx context.Context, in *GetBucketsRequest, opts ...grpc.CallOption) (*BucketResponse, error)
	// health endpoint
	IsHealth(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error)
	//get raw data by height
	GetRawData(ctx context.Context, in *GetRawDataRequest, opts ...grpc.CallOption) (*RawDataResponse, error)
}

APIServiceClient is the client API for APIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIServiceClient

func NewAPIServiceClient(cc *grpc.ClientConn) APIServiceClient

type APIServiceServer

type APIServiceServer interface {
	// get the blockchain meta data
	GetMeta(context.Context, *empty.Empty) (*ChainMeta, error)
	// get candidates
	GetCandidates(context.Context, *GetCandidatesRequest) (*CandidateResponse, error)
	// get candidate by name
	GetCandidateByName(context.Context, *GetCandidateByNameRequest) (*Candidate, error)
	// get buckets by candidate
	GetBucketsByCandidate(context.Context, *GetBucketsByCandidateRequest) (*BucketResponse, error)
	// get Buckets
	GetBuckets(context.Context, *GetBucketsRequest) (*BucketResponse, error)
	// health endpoint
	IsHealth(context.Context, *empty.Empty) (*HealthCheckResponse, error)
	//get raw data by height
	GetRawData(context.Context, *GetRawDataRequest) (*RawDataResponse, error)
}

APIServiceServer is the server API for APIService service.

type Bucket

type Bucket struct {
	// hex string
	Voter         string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
	Votes         string `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
	WeightedVotes string `protobuf:"bytes,3,opt,name=weightedVotes,proto3" json:"weightedVotes,omitempty"`
	// human readable duration
	RemainingDuration    string   `protobuf:"bytes,4,opt,name=remainingDuration,proto3" json:"remainingDuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Bucket) Descriptor

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

func (*Bucket) GetRemainingDuration

func (m *Bucket) GetRemainingDuration() string

func (*Bucket) GetVoter

func (m *Bucket) GetVoter() string

func (*Bucket) GetVotes

func (m *Bucket) GetVotes() string

func (*Bucket) GetWeightedVotes

func (m *Bucket) GetWeightedVotes() string

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) Reset

func (m *Bucket) Reset()

func (*Bucket) String

func (m *Bucket) String() string

func (*Bucket) XXX_DiscardUnknown

func (m *Bucket) XXX_DiscardUnknown()

func (*Bucket) XXX_Marshal

func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket) XXX_Merge

func (m *Bucket) XXX_Merge(src proto.Message)

func (*Bucket) XXX_Size

func (m *Bucket) XXX_Size() int

func (*Bucket) XXX_Unmarshal

func (m *Bucket) XXX_Unmarshal(b []byte) error

type BucketResponse

type BucketResponse struct {
	Buckets              []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*BucketResponse) Descriptor

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

func (*BucketResponse) GetBuckets

func (m *BucketResponse) GetBuckets() []*Bucket

func (*BucketResponse) ProtoMessage

func (*BucketResponse) ProtoMessage()

func (*BucketResponse) Reset

func (m *BucketResponse) Reset()

func (*BucketResponse) String

func (m *BucketResponse) String() string

func (*BucketResponse) XXX_DiscardUnknown

func (m *BucketResponse) XXX_DiscardUnknown()

func (*BucketResponse) XXX_Marshal

func (m *BucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BucketResponse) XXX_Merge

func (m *BucketResponse) XXX_Merge(src proto.Message)

func (*BucketResponse) XXX_Size

func (m *BucketResponse) XXX_Size() int

func (*BucketResponse) XXX_Unmarshal

func (m *BucketResponse) XXX_Unmarshal(b []byte) error

type Candidate

type Candidate struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// hex string
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	TotalWeightedVotes   string   `protobuf:"bytes,3,opt,name=totalWeightedVotes,proto3" json:"totalWeightedVotes,omitempty"`
	SelfStakingTokens    string   `protobuf:"bytes,4,opt,name=selfStakingTokens,proto3" json:"selfStakingTokens,omitempty"`
	OperatorAddress      string   `protobuf:"bytes,5,opt,name=operatorAddress,proto3" json:"operatorAddress,omitempty"`
	RewardAddress        string   `protobuf:"bytes,6,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Candidate) Descriptor

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

func (*Candidate) GetAddress

func (m *Candidate) GetAddress() string

func (*Candidate) GetName

func (m *Candidate) GetName() string

func (*Candidate) GetOperatorAddress

func (m *Candidate) GetOperatorAddress() string

func (*Candidate) GetRewardAddress

func (m *Candidate) GetRewardAddress() string

func (*Candidate) GetSelfStakingTokens

func (m *Candidate) GetSelfStakingTokens() string

func (*Candidate) GetTotalWeightedVotes

func (m *Candidate) GetTotalWeightedVotes() string

func (*Candidate) ProtoMessage

func (*Candidate) ProtoMessage()

func (*Candidate) Reset

func (m *Candidate) Reset()

func (*Candidate) String

func (m *Candidate) String() string

func (*Candidate) XXX_DiscardUnknown

func (m *Candidate) XXX_DiscardUnknown()

func (*Candidate) XXX_Marshal

func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Candidate) XXX_Merge

func (m *Candidate) XXX_Merge(src proto.Message)

func (*Candidate) XXX_Size

func (m *Candidate) XXX_Size() int

func (*Candidate) XXX_Unmarshal

func (m *Candidate) XXX_Unmarshal(b []byte) error

type CandidateResponse

type CandidateResponse struct {
	Candidates           []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CandidateResponse) Descriptor

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

func (*CandidateResponse) GetCandidates

func (m *CandidateResponse) GetCandidates() []*Candidate

func (*CandidateResponse) ProtoMessage

func (*CandidateResponse) ProtoMessage()

func (*CandidateResponse) Reset

func (m *CandidateResponse) Reset()

func (*CandidateResponse) String

func (m *CandidateResponse) String() string

func (*CandidateResponse) XXX_DiscardUnknown

func (m *CandidateResponse) XXX_DiscardUnknown()

func (*CandidateResponse) XXX_Marshal

func (m *CandidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CandidateResponse) XXX_Merge

func (m *CandidateResponse) XXX_Merge(src proto.Message)

func (*CandidateResponse) XXX_Size

func (m *CandidateResponse) XXX_Size() int

func (*CandidateResponse) XXX_Unmarshal

func (m *CandidateResponse) XXX_Unmarshal(b []byte) error

type ChainMeta

type ChainMeta struct {
	Height               string   `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
	TotalCandidates      uint64   `protobuf:"varint,2,opt,name=totalCandidates,proto3" json:"totalCandidates,omitempty"`
	TotalVotedStakes     string   `protobuf:"bytes,3,opt,name=totalVotedStakes,proto3" json:"totalVotedStakes,omitempty"`
	TotalVotes           string   `protobuf:"bytes,4,opt,name=totalVotes,proto3" json:"totalVotes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChainMeta) Descriptor

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

func (*ChainMeta) GetHeight

func (m *ChainMeta) GetHeight() string

func (*ChainMeta) GetTotalCandidates

func (m *ChainMeta) GetTotalCandidates() uint64

func (*ChainMeta) GetTotalVotedStakes

func (m *ChainMeta) GetTotalVotedStakes() string

func (*ChainMeta) GetTotalVotes

func (m *ChainMeta) GetTotalVotes() string

func (*ChainMeta) ProtoMessage

func (*ChainMeta) ProtoMessage()

func (*ChainMeta) Reset

func (m *ChainMeta) Reset()

func (*ChainMeta) String

func (m *ChainMeta) String() string

func (*ChainMeta) XXX_DiscardUnknown

func (m *ChainMeta) XXX_DiscardUnknown()

func (*ChainMeta) XXX_Marshal

func (m *ChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainMeta) XXX_Merge

func (m *ChainMeta) XXX_Merge(src proto.Message)

func (*ChainMeta) XXX_Size

func (m *ChainMeta) XXX_Size() int

func (*ChainMeta) XXX_Unmarshal

func (m *ChainMeta) XXX_Unmarshal(b []byte) error

type GetBucketsByCandidateRequest

type GetBucketsByCandidateRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Height               string   `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"`
	Offset               uint32   `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit                uint32   `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBucketsByCandidateRequest) Descriptor

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

func (*GetBucketsByCandidateRequest) GetHeight

func (m *GetBucketsByCandidateRequest) GetHeight() string

func (*GetBucketsByCandidateRequest) GetLimit

func (m *GetBucketsByCandidateRequest) GetLimit() uint32

func (*GetBucketsByCandidateRequest) GetName

func (m *GetBucketsByCandidateRequest) GetName() string

func (*GetBucketsByCandidateRequest) GetOffset

func (m *GetBucketsByCandidateRequest) GetOffset() uint32

func (*GetBucketsByCandidateRequest) ProtoMessage

func (*GetBucketsByCandidateRequest) ProtoMessage()

func (*GetBucketsByCandidateRequest) Reset

func (m *GetBucketsByCandidateRequest) Reset()

func (*GetBucketsByCandidateRequest) String

func (*GetBucketsByCandidateRequest) XXX_DiscardUnknown

func (m *GetBucketsByCandidateRequest) XXX_DiscardUnknown()

func (*GetBucketsByCandidateRequest) XXX_Marshal

func (m *GetBucketsByCandidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBucketsByCandidateRequest) XXX_Merge

func (m *GetBucketsByCandidateRequest) XXX_Merge(src proto.Message)

func (*GetBucketsByCandidateRequest) XXX_Size

func (m *GetBucketsByCandidateRequest) XXX_Size() int

func (*GetBucketsByCandidateRequest) XXX_Unmarshal

func (m *GetBucketsByCandidateRequest) XXX_Unmarshal(b []byte) error

type GetBucketsRequest added in v0.1.18

type GetBucketsRequest struct {
	Height               string   `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
	Offset               uint32   `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit                uint32   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBucketsRequest) Descriptor added in v0.1.18

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

func (*GetBucketsRequest) GetHeight added in v0.1.18

func (m *GetBucketsRequest) GetHeight() string

func (*GetBucketsRequest) GetLimit added in v0.1.18

func (m *GetBucketsRequest) GetLimit() uint32

func (*GetBucketsRequest) GetOffset added in v0.1.18

func (m *GetBucketsRequest) GetOffset() uint32

func (*GetBucketsRequest) ProtoMessage added in v0.1.18

func (*GetBucketsRequest) ProtoMessage()

func (*GetBucketsRequest) Reset added in v0.1.18

func (m *GetBucketsRequest) Reset()

func (*GetBucketsRequest) String added in v0.1.18

func (m *GetBucketsRequest) String() string

func (*GetBucketsRequest) XXX_DiscardUnknown added in v0.1.18

func (m *GetBucketsRequest) XXX_DiscardUnknown()

func (*GetBucketsRequest) XXX_Marshal added in v0.1.18

func (m *GetBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBucketsRequest) XXX_Merge added in v0.1.18

func (m *GetBucketsRequest) XXX_Merge(src proto.Message)

func (*GetBucketsRequest) XXX_Size added in v0.1.18

func (m *GetBucketsRequest) XXX_Size() int

func (*GetBucketsRequest) XXX_Unmarshal added in v0.1.18

func (m *GetBucketsRequest) XXX_Unmarshal(b []byte) error

type GetCandidateByNameRequest

type GetCandidateByNameRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Height               string   `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCandidateByNameRequest) Descriptor

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

func (*GetCandidateByNameRequest) GetHeight

func (m *GetCandidateByNameRequest) GetHeight() string

func (*GetCandidateByNameRequest) GetName

func (m *GetCandidateByNameRequest) GetName() string

func (*GetCandidateByNameRequest) ProtoMessage

func (*GetCandidateByNameRequest) ProtoMessage()

func (*GetCandidateByNameRequest) Reset

func (m *GetCandidateByNameRequest) Reset()

func (*GetCandidateByNameRequest) String

func (m *GetCandidateByNameRequest) String() string

func (*GetCandidateByNameRequest) XXX_DiscardUnknown

func (m *GetCandidateByNameRequest) XXX_DiscardUnknown()

func (*GetCandidateByNameRequest) XXX_Marshal

func (m *GetCandidateByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCandidateByNameRequest) XXX_Merge

func (m *GetCandidateByNameRequest) XXX_Merge(src proto.Message)

func (*GetCandidateByNameRequest) XXX_Size

func (m *GetCandidateByNameRequest) XXX_Size() int

func (*GetCandidateByNameRequest) XXX_Unmarshal

func (m *GetCandidateByNameRequest) XXX_Unmarshal(b []byte) error

type GetCandidatesRequest

type GetCandidatesRequest struct {
	Height               string   `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
	Offset               uint32   `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit                uint32   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCandidatesRequest) Descriptor

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

func (*GetCandidatesRequest) GetHeight

func (m *GetCandidatesRequest) GetHeight() string

func (*GetCandidatesRequest) GetLimit

func (m *GetCandidatesRequest) GetLimit() uint32

func (*GetCandidatesRequest) GetOffset

func (m *GetCandidatesRequest) GetOffset() uint32

func (*GetCandidatesRequest) ProtoMessage

func (*GetCandidatesRequest) ProtoMessage()

func (*GetCandidatesRequest) Reset

func (m *GetCandidatesRequest) Reset()

func (*GetCandidatesRequest) String

func (m *GetCandidatesRequest) String() string

func (*GetCandidatesRequest) XXX_DiscardUnknown

func (m *GetCandidatesRequest) XXX_DiscardUnknown()

func (*GetCandidatesRequest) XXX_Marshal

func (m *GetCandidatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCandidatesRequest) XXX_Merge

func (m *GetCandidatesRequest) XXX_Merge(src proto.Message)

func (*GetCandidatesRequest) XXX_Size

func (m *GetCandidatesRequest) XXX_Size() int

func (*GetCandidatesRequest) XXX_Unmarshal

func (m *GetCandidatesRequest) XXX_Unmarshal(b []byte) error

type GetRawDataRequest added in v0.2.3

type GetRawDataRequest struct {
	Height               string   `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRawDataRequest) Descriptor added in v0.2.3

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

func (*GetRawDataRequest) GetHeight added in v0.2.3

func (m *GetRawDataRequest) GetHeight() string

func (*GetRawDataRequest) ProtoMessage added in v0.2.3

func (*GetRawDataRequest) ProtoMessage()

func (*GetRawDataRequest) Reset added in v0.2.3

func (m *GetRawDataRequest) Reset()

func (*GetRawDataRequest) String added in v0.2.3

func (m *GetRawDataRequest) String() string

func (*GetRawDataRequest) XXX_DiscardUnknown added in v0.2.3

func (m *GetRawDataRequest) XXX_DiscardUnknown()

func (*GetRawDataRequest) XXX_Marshal added in v0.2.3

func (m *GetRawDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRawDataRequest) XXX_Merge added in v0.2.3

func (m *GetRawDataRequest) XXX_Merge(src proto.Message)

func (*GetRawDataRequest) XXX_Size added in v0.2.3

func (m *GetRawDataRequest) XXX_Size() int

func (*GetRawDataRequest) XXX_Unmarshal added in v0.2.3

func (m *GetRawDataRequest) XXX_Unmarshal(b []byte) error

type HealthCheckResponse

type HealthCheckResponse struct {
	Status               HealthCheckResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=api.HealthCheckResponse_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*HealthCheckResponse) Descriptor

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

func (*HealthCheckResponse) GetStatus

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

func (*HealthCheckResponse) XXX_DiscardUnknown

func (m *HealthCheckResponse) XXX_DiscardUnknown()

func (*HealthCheckResponse) XXX_Marshal

func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckResponse) XXX_Merge

func (m *HealthCheckResponse) XXX_Merge(src proto.Message)

func (*HealthCheckResponse) XXX_Size

func (m *HealthCheckResponse) XXX_Size() int

func (*HealthCheckResponse) XXX_Unmarshal

func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error

type HealthCheckResponse_Status

type HealthCheckResponse_Status int32
const (
	HealthCheckResponse_STARTING HealthCheckResponse_Status = 0
	HealthCheckResponse_ACTIVE   HealthCheckResponse_Status = 1
	HealthCheckResponse_INACTIVE HealthCheckResponse_Status = 2
)

func (HealthCheckResponse_Status) EnumDescriptor

func (HealthCheckResponse_Status) EnumDescriptor() ([]byte, []int)

func (HealthCheckResponse_Status) String

type RawDataResponse added in v0.2.3

type RawDataResponse struct {
	Timestamp            *timestamp.Timestamp     `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Buckets              []*election.Bucket       `protobuf:"bytes,2,rep,name=buckets,proto3" json:"buckets,omitempty"`
	Registrations        []*election.Registration `protobuf:"bytes,3,rep,name=registrations,proto3" json:"registrations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*RawDataResponse) Descriptor added in v0.2.3

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

func (*RawDataResponse) GetBuckets added in v0.2.3

func (m *RawDataResponse) GetBuckets() []*election.Bucket

func (*RawDataResponse) GetRegistrations added in v0.2.3

func (m *RawDataResponse) GetRegistrations() []*election.Registration

func (*RawDataResponse) GetTimestamp added in v0.2.3

func (m *RawDataResponse) GetTimestamp() *timestamp.Timestamp

func (*RawDataResponse) ProtoMessage added in v0.2.3

func (*RawDataResponse) ProtoMessage()

func (*RawDataResponse) Reset added in v0.2.3

func (m *RawDataResponse) Reset()

func (*RawDataResponse) String added in v0.2.3

func (m *RawDataResponse) String() string

func (*RawDataResponse) XXX_DiscardUnknown added in v0.2.3

func (m *RawDataResponse) XXX_DiscardUnknown()

func (*RawDataResponse) XXX_Marshal added in v0.2.3

func (m *RawDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawDataResponse) XXX_Merge added in v0.2.3

func (m *RawDataResponse) XXX_Merge(src proto.Message)

func (*RawDataResponse) XXX_Size added in v0.2.3

func (m *RawDataResponse) XXX_Size() int

func (*RawDataResponse) XXX_Unmarshal added in v0.2.3

func (m *RawDataResponse) XXX_Unmarshal(b []byte) error

type UnimplementedAPIServiceServer added in v0.2.3

type UnimplementedAPIServiceServer struct {
}

UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServiceServer) GetBuckets added in v0.2.3

func (*UnimplementedAPIServiceServer) GetBucketsByCandidate added in v0.2.3

func (*UnimplementedAPIServiceServer) GetCandidateByName added in v0.2.3

func (*UnimplementedAPIServiceServer) GetCandidates added in v0.2.3

func (*UnimplementedAPIServiceServer) GetMeta added in v0.2.3

func (*UnimplementedAPIServiceServer) GetRawData added in v0.2.3

func (*UnimplementedAPIServiceServer) IsHealth added in v0.2.3

Jump to

Keyboard shortcuts

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