Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterCoreApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCoreApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreApiServiceClient) error
- func RegisterCoreApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCoreApiServiceServer(s *grpc.Server, srv CoreApiServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAsset() string
- func (m *Account) GetBalance() string
- func (m *Account) GetMarket() string
- func (m *Account) GetParty() string
- func (m *Account) GetType() string
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (this *Account) Validate() error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type CoreApiServiceClient
- type CoreApiServiceServer
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)
- func (m *ListAccountsRequest) GetMarket() string
- func (m *ListAccountsRequest) GetParty() string
- func (*ListAccountsRequest) ProtoMessage()
- func (m *ListAccountsRequest) Reset()
- func (m *ListAccountsRequest) String() string
- func (this *ListAccountsRequest) Validate() error
- func (m *ListAccountsRequest) XXX_DiscardUnknown()
- func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAccountsRequest) XXX_Merge(src proto.Message)
- func (m *ListAccountsRequest) XXX_Size() int
- func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)
- func (m *ListAccountsResponse) GetAccounts() []*Account
- func (*ListAccountsResponse) ProtoMessage()
- func (m *ListAccountsResponse) Reset()
- func (m *ListAccountsResponse) String() string
- func (this *ListAccountsResponse) Validate() error
- func (m *ListAccountsResponse) XXX_DiscardUnknown()
- func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAccountsResponse) XXX_Merge(src proto.Message)
- func (m *ListAccountsResponse) XXX_Size() int
- func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error
- type ListAssetsRequest
- func (*ListAssetsRequest) Descriptor() ([]byte, []int)
- func (m *ListAssetsRequest) GetAsset() string
- func (*ListAssetsRequest) ProtoMessage()
- func (m *ListAssetsRequest) Reset()
- func (m *ListAssetsRequest) String() string
- func (this *ListAssetsRequest) Validate() error
- func (m *ListAssetsRequest) XXX_DiscardUnknown()
- func (m *ListAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAssetsRequest) XXX_Merge(src proto.Message)
- func (m *ListAssetsRequest) XXX_Size() int
- func (m *ListAssetsRequest) XXX_Unmarshal(b []byte) error
- type ListAssetsResponse
- func (*ListAssetsResponse) Descriptor() ([]byte, []int)
- func (m *ListAssetsResponse) GetAssets() []*vega.Asset
- func (*ListAssetsResponse) ProtoMessage()
- func (m *ListAssetsResponse) Reset()
- func (m *ListAssetsResponse) String() string
- func (this *ListAssetsResponse) Validate() error
- func (m *ListAssetsResponse) XXX_DiscardUnknown()
- func (m *ListAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAssetsResponse) XXX_Merge(src proto.Message)
- func (m *ListAssetsResponse) XXX_Size() int
- func (m *ListAssetsResponse) XXX_Unmarshal(b []byte) error
- type ListMarketsDataRequest
- func (*ListMarketsDataRequest) Descriptor() ([]byte, []int)
- func (m *ListMarketsDataRequest) GetMarket() string
- func (*ListMarketsDataRequest) ProtoMessage()
- func (m *ListMarketsDataRequest) Reset()
- func (m *ListMarketsDataRequest) String() string
- func (this *ListMarketsDataRequest) Validate() error
- func (m *ListMarketsDataRequest) XXX_DiscardUnknown()
- func (m *ListMarketsDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMarketsDataRequest) XXX_Merge(src proto.Message)
- func (m *ListMarketsDataRequest) XXX_Size() int
- func (m *ListMarketsDataRequest) XXX_Unmarshal(b []byte) error
- type ListMarketsDataResponse
- func (*ListMarketsDataResponse) Descriptor() ([]byte, []int)
- func (m *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData
- func (*ListMarketsDataResponse) ProtoMessage()
- func (m *ListMarketsDataResponse) Reset()
- func (m *ListMarketsDataResponse) String() string
- func (this *ListMarketsDataResponse) Validate() error
- func (m *ListMarketsDataResponse) XXX_DiscardUnknown()
- func (m *ListMarketsDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMarketsDataResponse) XXX_Merge(src proto.Message)
- func (m *ListMarketsDataResponse) XXX_Size() int
- func (m *ListMarketsDataResponse) XXX_Unmarshal(b []byte) error
- type ListMarketsRequest
- func (*ListMarketsRequest) Descriptor() ([]byte, []int)
- func (m *ListMarketsRequest) GetMarket() string
- func (*ListMarketsRequest) ProtoMessage()
- func (m *ListMarketsRequest) Reset()
- func (m *ListMarketsRequest) String() string
- func (this *ListMarketsRequest) Validate() error
- func (m *ListMarketsRequest) XXX_DiscardUnknown()
- func (m *ListMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMarketsRequest) XXX_Merge(src proto.Message)
- func (m *ListMarketsRequest) XXX_Size() int
- func (m *ListMarketsRequest) XXX_Unmarshal(b []byte) error
- type ListMarketsResponse
- func (*ListMarketsResponse) Descriptor() ([]byte, []int)
- func (m *ListMarketsResponse) GetMarkets() []*vega.Market
- func (*ListMarketsResponse) ProtoMessage()
- func (m *ListMarketsResponse) Reset()
- func (m *ListMarketsResponse) String() string
- func (this *ListMarketsResponse) Validate() error
- func (m *ListMarketsResponse) XXX_DiscardUnknown()
- func (m *ListMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMarketsResponse) XXX_Merge(src proto.Message)
- func (m *ListMarketsResponse) XXX_Size() int
- func (m *ListMarketsResponse) XXX_Unmarshal(b []byte) error
- type ListNetworkParametersRequest
- func (*ListNetworkParametersRequest) Descriptor() ([]byte, []int)
- func (m *ListNetworkParametersRequest) GetNetworkParameterKey() string
- func (*ListNetworkParametersRequest) ProtoMessage()
- func (m *ListNetworkParametersRequest) Reset()
- func (m *ListNetworkParametersRequest) String() string
- func (this *ListNetworkParametersRequest) Validate() error
- func (m *ListNetworkParametersRequest) XXX_DiscardUnknown()
- func (m *ListNetworkParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNetworkParametersRequest) XXX_Merge(src proto.Message)
- func (m *ListNetworkParametersRequest) XXX_Size() int
- func (m *ListNetworkParametersRequest) XXX_Unmarshal(b []byte) error
- type ListNetworkParametersResponse
- func (*ListNetworkParametersResponse) Descriptor() ([]byte, []int)
- func (m *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter
- func (*ListNetworkParametersResponse) ProtoMessage()
- func (m *ListNetworkParametersResponse) Reset()
- func (m *ListNetworkParametersResponse) String() string
- func (this *ListNetworkParametersResponse) Validate() error
- func (m *ListNetworkParametersResponse) XXX_DiscardUnknown()
- func (m *ListNetworkParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNetworkParametersResponse) XXX_Merge(src proto.Message)
- func (m *ListNetworkParametersResponse) XXX_Size() int
- func (m *ListNetworkParametersResponse) XXX_Unmarshal(b []byte) error
- type ListPartiesRequest
- func (*ListPartiesRequest) Descriptor() ([]byte, []int)
- func (*ListPartiesRequest) ProtoMessage()
- func (m *ListPartiesRequest) Reset()
- func (m *ListPartiesRequest) String() string
- func (this *ListPartiesRequest) Validate() error
- func (m *ListPartiesRequest) XXX_DiscardUnknown()
- func (m *ListPartiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPartiesRequest) XXX_Merge(src proto.Message)
- func (m *ListPartiesRequest) XXX_Size() int
- func (m *ListPartiesRequest) XXX_Unmarshal(b []byte) error
- type ListPartiesResponse
- func (*ListPartiesResponse) Descriptor() ([]byte, []int)
- func (m *ListPartiesResponse) GetParties() []*vega.Party
- func (*ListPartiesResponse) ProtoMessage()
- func (m *ListPartiesResponse) Reset()
- func (m *ListPartiesResponse) String() string
- func (this *ListPartiesResponse) Validate() error
- func (m *ListPartiesResponse) XXX_DiscardUnknown()
- func (m *ListPartiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPartiesResponse) XXX_Merge(src proto.Message)
- func (m *ListPartiesResponse) XXX_Size() int
- func (m *ListPartiesResponse) XXX_Unmarshal(b []byte) error
- type ListProposalsRequest
- func (*ListProposalsRequest) Descriptor() ([]byte, []int)
- func (m *ListProposalsRequest) GetProposal() string
- func (m *ListProposalsRequest) GetProposer() string
- func (*ListProposalsRequest) ProtoMessage()
- func (m *ListProposalsRequest) Reset()
- func (m *ListProposalsRequest) String() string
- func (this *ListProposalsRequest) Validate() error
- func (m *ListProposalsRequest) XXX_DiscardUnknown()
- func (m *ListProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProposalsRequest) XXX_Merge(src proto.Message)
- func (m *ListProposalsRequest) XXX_Size() int
- func (m *ListProposalsRequest) XXX_Unmarshal(b []byte) error
- type ListProposalsResponse
- func (*ListProposalsResponse) Descriptor() ([]byte, []int)
- func (m *ListProposalsResponse) GetProposals() []*vega.Proposal
- func (*ListProposalsResponse) ProtoMessage()
- func (m *ListProposalsResponse) Reset()
- func (m *ListProposalsResponse) String() string
- func (this *ListProposalsResponse) Validate() error
- func (m *ListProposalsResponse) XXX_DiscardUnknown()
- func (m *ListProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProposalsResponse) XXX_Merge(src proto.Message)
- func (m *ListProposalsResponse) XXX_Size() int
- func (m *ListProposalsResponse) XXX_Unmarshal(b []byte) error
- type ListValidatorsRequest
- func (*ListValidatorsRequest) Descriptor() ([]byte, []int)
- func (*ListValidatorsRequest) ProtoMessage()
- func (m *ListValidatorsRequest) Reset()
- func (m *ListValidatorsRequest) String() string
- func (this *ListValidatorsRequest) Validate() error
- func (m *ListValidatorsRequest) XXX_DiscardUnknown()
- func (m *ListValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *ListValidatorsRequest) XXX_Size() int
- func (m *ListValidatorsRequest) XXX_Unmarshal(b []byte) error
- type ListValidatorsResponse
- func (*ListValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate
- func (*ListValidatorsResponse) ProtoMessage()
- func (m *ListValidatorsResponse) Reset()
- func (m *ListValidatorsResponse) String() string
- func (this *ListValidatorsResponse) Validate() error
- func (m *ListValidatorsResponse) XXX_DiscardUnknown()
- func (m *ListValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *ListValidatorsResponse) XXX_Size() int
- func (m *ListValidatorsResponse) XXX_Unmarshal(b []byte) error
- type ListVotesRequest
- func (*ListVotesRequest) Descriptor() ([]byte, []int)
- func (m *ListVotesRequest) GetParty() string
- func (m *ListVotesRequest) GetProposal() string
- func (*ListVotesRequest) ProtoMessage()
- func (m *ListVotesRequest) Reset()
- func (m *ListVotesRequest) String() string
- func (this *ListVotesRequest) Validate() error
- func (m *ListVotesRequest) XXX_DiscardUnknown()
- func (m *ListVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVotesRequest) XXX_Merge(src proto.Message)
- func (m *ListVotesRequest) XXX_Size() int
- func (m *ListVotesRequest) XXX_Unmarshal(b []byte) error
- type ListVotesResponse
- func (*ListVotesResponse) Descriptor() ([]byte, []int)
- func (m *ListVotesResponse) GetVotes() []*vega.Vote
- func (*ListVotesResponse) ProtoMessage()
- func (m *ListVotesResponse) Reset()
- func (m *ListVotesResponse) String() string
- func (this *ListVotesResponse) Validate() error
- func (m *ListVotesResponse) XXX_DiscardUnknown()
- func (m *ListVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVotesResponse) XXX_Merge(src proto.Message)
- func (m *ListVotesResponse) XXX_Size() int
- func (m *ListVotesResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCoreApiServiceHandler ¶
func RegisterCoreApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCoreApiServiceHandler registers the http handlers for service CoreApiService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCoreApiServiceHandlerClient ¶
func RegisterCoreApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreApiServiceClient) error
RegisterCoreApiServiceHandlerClient registers the http handlers for service CoreApiService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CoreApiServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CoreApiServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CoreApiServiceClient" to call the correct interceptors.
func RegisterCoreApiServiceHandlerFromEndpoint ¶
func RegisterCoreApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCoreApiServiceHandlerFromEndpoint is same as RegisterCoreApiServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCoreApiServiceServer ¶
func RegisterCoreApiServiceServer(s *grpc.Server, srv CoreApiServiceServer)
Types ¶
type Account ¶
type Account struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Market string `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` Asset string `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Account) Descriptor ¶
func (*Account) GetBalance ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type CoreApiServiceClient ¶
type CoreApiServiceClient interface { ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) ListNetworkParameters(ctx context.Context, in *ListNetworkParametersRequest, opts ...grpc.CallOption) (*ListNetworkParametersResponse, error) ListParties(ctx context.Context, in *ListPartiesRequest, opts ...grpc.CallOption) (*ListPartiesResponse, error) ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*ListValidatorsResponse, error) ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error) ListProposals(ctx context.Context, in *ListProposalsRequest, opts ...grpc.CallOption) (*ListProposalsResponse, error) ListMarketsData(ctx context.Context, in *ListMarketsDataRequest, opts ...grpc.CallOption) (*ListMarketsDataResponse, error) ListVotes(ctx context.Context, in *ListVotesRequest, opts ...grpc.CallOption) (*ListVotesResponse, error) }
CoreApiServiceClient is the client API for CoreApiService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCoreApiServiceClient ¶
func NewCoreApiServiceClient(cc *grpc.ClientConn) CoreApiServiceClient
type CoreApiServiceServer ¶
type CoreApiServiceServer interface { ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error) ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error) ListValidators(context.Context, *ListValidatorsRequest) (*ListValidatorsResponse, error) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) ListProposals(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error) ListMarketsData(context.Context, *ListMarketsDataRequest) (*ListMarketsDataResponse, error) ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error) }
CoreApiServiceServer is the server API for CoreApiService service.
type ListAccountsRequest ¶
type ListAccountsRequest struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Market string `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAccountsRequest) Descriptor ¶
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
func (*ListAccountsRequest) GetMarket ¶
func (m *ListAccountsRequest) GetMarket() string
func (*ListAccountsRequest) GetParty ¶
func (m *ListAccountsRequest) GetParty() string
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) Reset ¶
func (m *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (m *ListAccountsRequest) String() string
func (*ListAccountsRequest) Validate ¶
func (this *ListAccountsRequest) Validate() error
func (*ListAccountsRequest) XXX_DiscardUnknown ¶
func (m *ListAccountsRequest) XXX_DiscardUnknown()
func (*ListAccountsRequest) XXX_Marshal ¶
func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAccountsRequest) XXX_Merge ¶
func (m *ListAccountsRequest) XXX_Merge(src proto.Message)
func (*ListAccountsRequest) XXX_Size ¶
func (m *ListAccountsRequest) XXX_Size() int
func (*ListAccountsRequest) XXX_Unmarshal ¶
func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error
type ListAccountsResponse ¶
type ListAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAccountsResponse) Descriptor ¶
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
func (*ListAccountsResponse) GetAccounts ¶
func (m *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) Reset ¶
func (m *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (m *ListAccountsResponse) String() string
func (*ListAccountsResponse) Validate ¶
func (this *ListAccountsResponse) Validate() error
func (*ListAccountsResponse) XXX_DiscardUnknown ¶
func (m *ListAccountsResponse) XXX_DiscardUnknown()
func (*ListAccountsResponse) XXX_Marshal ¶
func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAccountsResponse) XXX_Merge ¶
func (m *ListAccountsResponse) XXX_Merge(src proto.Message)
func (*ListAccountsResponse) XXX_Size ¶
func (m *ListAccountsResponse) XXX_Size() int
func (*ListAccountsResponse) XXX_Unmarshal ¶
func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error
type ListAssetsRequest ¶
type ListAssetsRequest struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAssetsRequest) Descriptor ¶
func (*ListAssetsRequest) Descriptor() ([]byte, []int)
func (*ListAssetsRequest) GetAsset ¶
func (m *ListAssetsRequest) GetAsset() string
func (*ListAssetsRequest) ProtoMessage ¶
func (*ListAssetsRequest) ProtoMessage()
func (*ListAssetsRequest) Reset ¶
func (m *ListAssetsRequest) Reset()
func (*ListAssetsRequest) String ¶
func (m *ListAssetsRequest) String() string
func (*ListAssetsRequest) Validate ¶
func (this *ListAssetsRequest) Validate() error
func (*ListAssetsRequest) XXX_DiscardUnknown ¶
func (m *ListAssetsRequest) XXX_DiscardUnknown()
func (*ListAssetsRequest) XXX_Marshal ¶
func (m *ListAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAssetsRequest) XXX_Merge ¶
func (m *ListAssetsRequest) XXX_Merge(src proto.Message)
func (*ListAssetsRequest) XXX_Size ¶
func (m *ListAssetsRequest) XXX_Size() int
func (*ListAssetsRequest) XXX_Unmarshal ¶
func (m *ListAssetsRequest) XXX_Unmarshal(b []byte) error
type ListAssetsResponse ¶
type ListAssetsResponse struct { Assets []*vega.Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAssetsResponse) Descriptor ¶
func (*ListAssetsResponse) Descriptor() ([]byte, []int)
func (*ListAssetsResponse) GetAssets ¶
func (m *ListAssetsResponse) GetAssets() []*vega.Asset
func (*ListAssetsResponse) ProtoMessage ¶
func (*ListAssetsResponse) ProtoMessage()
func (*ListAssetsResponse) Reset ¶
func (m *ListAssetsResponse) Reset()
func (*ListAssetsResponse) String ¶
func (m *ListAssetsResponse) String() string
func (*ListAssetsResponse) Validate ¶
func (this *ListAssetsResponse) Validate() error
func (*ListAssetsResponse) XXX_DiscardUnknown ¶
func (m *ListAssetsResponse) XXX_DiscardUnknown()
func (*ListAssetsResponse) XXX_Marshal ¶
func (m *ListAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAssetsResponse) XXX_Merge ¶
func (m *ListAssetsResponse) XXX_Merge(src proto.Message)
func (*ListAssetsResponse) XXX_Size ¶
func (m *ListAssetsResponse) XXX_Size() int
func (*ListAssetsResponse) XXX_Unmarshal ¶
func (m *ListAssetsResponse) XXX_Unmarshal(b []byte) error
type ListMarketsDataRequest ¶
type ListMarketsDataRequest struct { Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMarketsDataRequest) Descriptor ¶
func (*ListMarketsDataRequest) Descriptor() ([]byte, []int)
func (*ListMarketsDataRequest) GetMarket ¶
func (m *ListMarketsDataRequest) GetMarket() string
func (*ListMarketsDataRequest) ProtoMessage ¶
func (*ListMarketsDataRequest) ProtoMessage()
func (*ListMarketsDataRequest) Reset ¶
func (m *ListMarketsDataRequest) Reset()
func (*ListMarketsDataRequest) String ¶
func (m *ListMarketsDataRequest) String() string
func (*ListMarketsDataRequest) Validate ¶
func (this *ListMarketsDataRequest) Validate() error
func (*ListMarketsDataRequest) XXX_DiscardUnknown ¶
func (m *ListMarketsDataRequest) XXX_DiscardUnknown()
func (*ListMarketsDataRequest) XXX_Marshal ¶
func (m *ListMarketsDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMarketsDataRequest) XXX_Merge ¶
func (m *ListMarketsDataRequest) XXX_Merge(src proto.Message)
func (*ListMarketsDataRequest) XXX_Size ¶
func (m *ListMarketsDataRequest) XXX_Size() int
func (*ListMarketsDataRequest) XXX_Unmarshal ¶
func (m *ListMarketsDataRequest) XXX_Unmarshal(b []byte) error
type ListMarketsDataResponse ¶
type ListMarketsDataResponse struct { MarketsData []*vega.MarketData `protobuf:"bytes,1,rep,name=markets_data,json=marketsData,proto3" json:"markets_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMarketsDataResponse) Descriptor ¶
func (*ListMarketsDataResponse) Descriptor() ([]byte, []int)
func (*ListMarketsDataResponse) GetMarketsData ¶
func (m *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData
func (*ListMarketsDataResponse) ProtoMessage ¶
func (*ListMarketsDataResponse) ProtoMessage()
func (*ListMarketsDataResponse) Reset ¶
func (m *ListMarketsDataResponse) Reset()
func (*ListMarketsDataResponse) String ¶
func (m *ListMarketsDataResponse) String() string
func (*ListMarketsDataResponse) Validate ¶
func (this *ListMarketsDataResponse) Validate() error
func (*ListMarketsDataResponse) XXX_DiscardUnknown ¶
func (m *ListMarketsDataResponse) XXX_DiscardUnknown()
func (*ListMarketsDataResponse) XXX_Marshal ¶
func (m *ListMarketsDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMarketsDataResponse) XXX_Merge ¶
func (m *ListMarketsDataResponse) XXX_Merge(src proto.Message)
func (*ListMarketsDataResponse) XXX_Size ¶
func (m *ListMarketsDataResponse) XXX_Size() int
func (*ListMarketsDataResponse) XXX_Unmarshal ¶
func (m *ListMarketsDataResponse) XXX_Unmarshal(b []byte) error
type ListMarketsRequest ¶
type ListMarketsRequest struct { Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMarketsRequest) Descriptor ¶
func (*ListMarketsRequest) Descriptor() ([]byte, []int)
func (*ListMarketsRequest) GetMarket ¶
func (m *ListMarketsRequest) GetMarket() string
func (*ListMarketsRequest) ProtoMessage ¶
func (*ListMarketsRequest) ProtoMessage()
func (*ListMarketsRequest) Reset ¶
func (m *ListMarketsRequest) Reset()
func (*ListMarketsRequest) String ¶
func (m *ListMarketsRequest) String() string
func (*ListMarketsRequest) Validate ¶
func (this *ListMarketsRequest) Validate() error
func (*ListMarketsRequest) XXX_DiscardUnknown ¶
func (m *ListMarketsRequest) XXX_DiscardUnknown()
func (*ListMarketsRequest) XXX_Marshal ¶
func (m *ListMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMarketsRequest) XXX_Merge ¶
func (m *ListMarketsRequest) XXX_Merge(src proto.Message)
func (*ListMarketsRequest) XXX_Size ¶
func (m *ListMarketsRequest) XXX_Size() int
func (*ListMarketsRequest) XXX_Unmarshal ¶
func (m *ListMarketsRequest) XXX_Unmarshal(b []byte) error
type ListMarketsResponse ¶
type ListMarketsResponse struct { Markets []*vega.Market `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMarketsResponse) Descriptor ¶
func (*ListMarketsResponse) Descriptor() ([]byte, []int)
func (*ListMarketsResponse) GetMarkets ¶
func (m *ListMarketsResponse) GetMarkets() []*vega.Market
func (*ListMarketsResponse) ProtoMessage ¶
func (*ListMarketsResponse) ProtoMessage()
func (*ListMarketsResponse) Reset ¶
func (m *ListMarketsResponse) Reset()
func (*ListMarketsResponse) String ¶
func (m *ListMarketsResponse) String() string
func (*ListMarketsResponse) Validate ¶
func (this *ListMarketsResponse) Validate() error
func (*ListMarketsResponse) XXX_DiscardUnknown ¶
func (m *ListMarketsResponse) XXX_DiscardUnknown()
func (*ListMarketsResponse) XXX_Marshal ¶
func (m *ListMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMarketsResponse) XXX_Merge ¶
func (m *ListMarketsResponse) XXX_Merge(src proto.Message)
func (*ListMarketsResponse) XXX_Size ¶
func (m *ListMarketsResponse) XXX_Size() int
func (*ListMarketsResponse) XXX_Unmarshal ¶
func (m *ListMarketsResponse) XXX_Unmarshal(b []byte) error
type ListNetworkParametersRequest ¶
type ListNetworkParametersRequest struct { NetworkParameterKey string `protobuf:"bytes,1,opt,name=network_parameter_key,json=networkParameterKey,proto3" json:"network_parameter_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNetworkParametersRequest) Descriptor ¶
func (*ListNetworkParametersRequest) Descriptor() ([]byte, []int)
func (*ListNetworkParametersRequest) GetNetworkParameterKey ¶
func (m *ListNetworkParametersRequest) GetNetworkParameterKey() string
func (*ListNetworkParametersRequest) ProtoMessage ¶
func (*ListNetworkParametersRequest) ProtoMessage()
func (*ListNetworkParametersRequest) Reset ¶
func (m *ListNetworkParametersRequest) Reset()
func (*ListNetworkParametersRequest) String ¶
func (m *ListNetworkParametersRequest) String() string
func (*ListNetworkParametersRequest) Validate ¶
func (this *ListNetworkParametersRequest) Validate() error
func (*ListNetworkParametersRequest) XXX_DiscardUnknown ¶
func (m *ListNetworkParametersRequest) XXX_DiscardUnknown()
func (*ListNetworkParametersRequest) XXX_Marshal ¶
func (m *ListNetworkParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNetworkParametersRequest) XXX_Merge ¶
func (m *ListNetworkParametersRequest) XXX_Merge(src proto.Message)
func (*ListNetworkParametersRequest) XXX_Size ¶
func (m *ListNetworkParametersRequest) XXX_Size() int
func (*ListNetworkParametersRequest) XXX_Unmarshal ¶
func (m *ListNetworkParametersRequest) XXX_Unmarshal(b []byte) error
type ListNetworkParametersResponse ¶
type ListNetworkParametersResponse struct { NetworkParameters []*vega.NetworkParameter `protobuf:"bytes,1,rep,name=network_parameters,json=networkParameters,proto3" json:"network_parameters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNetworkParametersResponse) Descriptor ¶
func (*ListNetworkParametersResponse) Descriptor() ([]byte, []int)
func (*ListNetworkParametersResponse) GetNetworkParameters ¶
func (m *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter
func (*ListNetworkParametersResponse) ProtoMessage ¶
func (*ListNetworkParametersResponse) ProtoMessage()
func (*ListNetworkParametersResponse) Reset ¶
func (m *ListNetworkParametersResponse) Reset()
func (*ListNetworkParametersResponse) String ¶
func (m *ListNetworkParametersResponse) String() string
func (*ListNetworkParametersResponse) Validate ¶
func (this *ListNetworkParametersResponse) Validate() error
func (*ListNetworkParametersResponse) XXX_DiscardUnknown ¶
func (m *ListNetworkParametersResponse) XXX_DiscardUnknown()
func (*ListNetworkParametersResponse) XXX_Marshal ¶
func (m *ListNetworkParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNetworkParametersResponse) XXX_Merge ¶
func (m *ListNetworkParametersResponse) XXX_Merge(src proto.Message)
func (*ListNetworkParametersResponse) XXX_Size ¶
func (m *ListNetworkParametersResponse) XXX_Size() int
func (*ListNetworkParametersResponse) XXX_Unmarshal ¶
func (m *ListNetworkParametersResponse) XXX_Unmarshal(b []byte) error
type ListPartiesRequest ¶
type ListPartiesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPartiesRequest) Descriptor ¶
func (*ListPartiesRequest) Descriptor() ([]byte, []int)
func (*ListPartiesRequest) ProtoMessage ¶
func (*ListPartiesRequest) ProtoMessage()
func (*ListPartiesRequest) Reset ¶
func (m *ListPartiesRequest) Reset()
func (*ListPartiesRequest) String ¶
func (m *ListPartiesRequest) String() string
func (*ListPartiesRequest) Validate ¶
func (this *ListPartiesRequest) Validate() error
func (*ListPartiesRequest) XXX_DiscardUnknown ¶
func (m *ListPartiesRequest) XXX_DiscardUnknown()
func (*ListPartiesRequest) XXX_Marshal ¶
func (m *ListPartiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPartiesRequest) XXX_Merge ¶
func (m *ListPartiesRequest) XXX_Merge(src proto.Message)
func (*ListPartiesRequest) XXX_Size ¶
func (m *ListPartiesRequest) XXX_Size() int
func (*ListPartiesRequest) XXX_Unmarshal ¶
func (m *ListPartiesRequest) XXX_Unmarshal(b []byte) error
type ListPartiesResponse ¶
type ListPartiesResponse struct { Parties []*vega.Party `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPartiesResponse) Descriptor ¶
func (*ListPartiesResponse) Descriptor() ([]byte, []int)
func (*ListPartiesResponse) GetParties ¶
func (m *ListPartiesResponse) GetParties() []*vega.Party
func (*ListPartiesResponse) ProtoMessage ¶
func (*ListPartiesResponse) ProtoMessage()
func (*ListPartiesResponse) Reset ¶
func (m *ListPartiesResponse) Reset()
func (*ListPartiesResponse) String ¶
func (m *ListPartiesResponse) String() string
func (*ListPartiesResponse) Validate ¶
func (this *ListPartiesResponse) Validate() error
func (*ListPartiesResponse) XXX_DiscardUnknown ¶
func (m *ListPartiesResponse) XXX_DiscardUnknown()
func (*ListPartiesResponse) XXX_Marshal ¶
func (m *ListPartiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPartiesResponse) XXX_Merge ¶
func (m *ListPartiesResponse) XXX_Merge(src proto.Message)
func (*ListPartiesResponse) XXX_Size ¶
func (m *ListPartiesResponse) XXX_Size() int
func (*ListPartiesResponse) XXX_Unmarshal ¶
func (m *ListPartiesResponse) XXX_Unmarshal(b []byte) error
type ListProposalsRequest ¶
type ListProposalsRequest struct { Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListProposalsRequest) Descriptor ¶
func (*ListProposalsRequest) Descriptor() ([]byte, []int)
func (*ListProposalsRequest) GetProposal ¶
func (m *ListProposalsRequest) GetProposal() string
func (*ListProposalsRequest) GetProposer ¶
func (m *ListProposalsRequest) GetProposer() string
func (*ListProposalsRequest) ProtoMessage ¶
func (*ListProposalsRequest) ProtoMessage()
func (*ListProposalsRequest) Reset ¶
func (m *ListProposalsRequest) Reset()
func (*ListProposalsRequest) String ¶
func (m *ListProposalsRequest) String() string
func (*ListProposalsRequest) Validate ¶
func (this *ListProposalsRequest) Validate() error
func (*ListProposalsRequest) XXX_DiscardUnknown ¶
func (m *ListProposalsRequest) XXX_DiscardUnknown()
func (*ListProposalsRequest) XXX_Marshal ¶
func (m *ListProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProposalsRequest) XXX_Merge ¶
func (m *ListProposalsRequest) XXX_Merge(src proto.Message)
func (*ListProposalsRequest) XXX_Size ¶
func (m *ListProposalsRequest) XXX_Size() int
func (*ListProposalsRequest) XXX_Unmarshal ¶
func (m *ListProposalsRequest) XXX_Unmarshal(b []byte) error
type ListProposalsResponse ¶
type ListProposalsResponse struct { Proposals []*vega.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListProposalsResponse) Descriptor ¶
func (*ListProposalsResponse) Descriptor() ([]byte, []int)
func (*ListProposalsResponse) GetProposals ¶
func (m *ListProposalsResponse) GetProposals() []*vega.Proposal
func (*ListProposalsResponse) ProtoMessage ¶
func (*ListProposalsResponse) ProtoMessage()
func (*ListProposalsResponse) Reset ¶
func (m *ListProposalsResponse) Reset()
func (*ListProposalsResponse) String ¶
func (m *ListProposalsResponse) String() string
func (*ListProposalsResponse) Validate ¶
func (this *ListProposalsResponse) Validate() error
func (*ListProposalsResponse) XXX_DiscardUnknown ¶
func (m *ListProposalsResponse) XXX_DiscardUnknown()
func (*ListProposalsResponse) XXX_Marshal ¶
func (m *ListProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProposalsResponse) XXX_Merge ¶
func (m *ListProposalsResponse) XXX_Merge(src proto.Message)
func (*ListProposalsResponse) XXX_Size ¶
func (m *ListProposalsResponse) XXX_Size() int
func (*ListProposalsResponse) XXX_Unmarshal ¶
func (m *ListProposalsResponse) XXX_Unmarshal(b []byte) error
type ListValidatorsRequest ¶
type ListValidatorsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListValidatorsRequest) Descriptor ¶
func (*ListValidatorsRequest) Descriptor() ([]byte, []int)
func (*ListValidatorsRequest) ProtoMessage ¶
func (*ListValidatorsRequest) ProtoMessage()
func (*ListValidatorsRequest) Reset ¶
func (m *ListValidatorsRequest) Reset()
func (*ListValidatorsRequest) String ¶
func (m *ListValidatorsRequest) String() string
func (*ListValidatorsRequest) Validate ¶
func (this *ListValidatorsRequest) Validate() error
func (*ListValidatorsRequest) XXX_DiscardUnknown ¶
func (m *ListValidatorsRequest) XXX_DiscardUnknown()
func (*ListValidatorsRequest) XXX_Marshal ¶
func (m *ListValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListValidatorsRequest) XXX_Merge ¶
func (m *ListValidatorsRequest) XXX_Merge(src proto.Message)
func (*ListValidatorsRequest) XXX_Size ¶
func (m *ListValidatorsRequest) XXX_Size() int
func (*ListValidatorsRequest) XXX_Unmarshal ¶
func (m *ListValidatorsRequest) XXX_Unmarshal(b []byte) error
type ListValidatorsResponse ¶
type ListValidatorsResponse struct { Validators []*v1.ValidatorUpdate `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListValidatorsResponse) Descriptor ¶
func (*ListValidatorsResponse) Descriptor() ([]byte, []int)
func (*ListValidatorsResponse) GetValidators ¶
func (m *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate
func (*ListValidatorsResponse) ProtoMessage ¶
func (*ListValidatorsResponse) ProtoMessage()
func (*ListValidatorsResponse) Reset ¶
func (m *ListValidatorsResponse) Reset()
func (*ListValidatorsResponse) String ¶
func (m *ListValidatorsResponse) String() string
func (*ListValidatorsResponse) Validate ¶
func (this *ListValidatorsResponse) Validate() error
func (*ListValidatorsResponse) XXX_DiscardUnknown ¶
func (m *ListValidatorsResponse) XXX_DiscardUnknown()
func (*ListValidatorsResponse) XXX_Marshal ¶
func (m *ListValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListValidatorsResponse) XXX_Merge ¶
func (m *ListValidatorsResponse) XXX_Merge(src proto.Message)
func (*ListValidatorsResponse) XXX_Size ¶
func (m *ListValidatorsResponse) XXX_Size() int
func (*ListValidatorsResponse) XXX_Unmarshal ¶
func (m *ListValidatorsResponse) XXX_Unmarshal(b []byte) error
type ListVotesRequest ¶
type ListVotesRequest struct { Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` Party string `protobuf:"bytes,2,opt,name=party,proto3" json:"party,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVotesRequest) Descriptor ¶
func (*ListVotesRequest) Descriptor() ([]byte, []int)
func (*ListVotesRequest) GetParty ¶
func (m *ListVotesRequest) GetParty() string
func (*ListVotesRequest) GetProposal ¶
func (m *ListVotesRequest) GetProposal() string
func (*ListVotesRequest) ProtoMessage ¶
func (*ListVotesRequest) ProtoMessage()
func (*ListVotesRequest) Reset ¶
func (m *ListVotesRequest) Reset()
func (*ListVotesRequest) String ¶
func (m *ListVotesRequest) String() string
func (*ListVotesRequest) Validate ¶
func (this *ListVotesRequest) Validate() error
func (*ListVotesRequest) XXX_DiscardUnknown ¶
func (m *ListVotesRequest) XXX_DiscardUnknown()
func (*ListVotesRequest) XXX_Marshal ¶
func (m *ListVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVotesRequest) XXX_Merge ¶
func (m *ListVotesRequest) XXX_Merge(src proto.Message)
func (*ListVotesRequest) XXX_Size ¶
func (m *ListVotesRequest) XXX_Size() int
func (*ListVotesRequest) XXX_Unmarshal ¶
func (m *ListVotesRequest) XXX_Unmarshal(b []byte) error
type ListVotesResponse ¶
type ListVotesResponse struct { Votes []*vega.Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVotesResponse) Descriptor ¶
func (*ListVotesResponse) Descriptor() ([]byte, []int)
func (*ListVotesResponse) GetVotes ¶
func (m *ListVotesResponse) GetVotes() []*vega.Vote
func (*ListVotesResponse) ProtoMessage ¶
func (*ListVotesResponse) ProtoMessage()
func (*ListVotesResponse) Reset ¶
func (m *ListVotesResponse) Reset()
func (*ListVotesResponse) String ¶
func (m *ListVotesResponse) String() string
func (*ListVotesResponse) Validate ¶
func (this *ListVotesResponse) Validate() error
func (*ListVotesResponse) XXX_DiscardUnknown ¶
func (m *ListVotesResponse) XXX_DiscardUnknown()
func (*ListVotesResponse) XXX_Marshal ¶
func (m *ListVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVotesResponse) XXX_Merge ¶
func (m *ListVotesResponse) XXX_Merge(src proto.Message)
func (*ListVotesResponse) XXX_Size ¶
func (m *ListVotesResponse) XXX_Size() int
func (*ListVotesResponse) XXX_Unmarshal ¶
func (m *ListVotesResponse) XXX_Unmarshal(b []byte) error