v1

package
v0.42.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

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) Descriptor() ([]byte, []int)

func (*Account) GetAsset

func (m *Account) GetAsset() string

func (*Account) GetBalance

func (m *Account) GetBalance() string

func (*Account) GetMarket

func (m *Account) GetMarket() string

func (*Account) GetParty

func (m *Account) GetParty() string

func (*Account) GetType

func (m *Account) GetType() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) Validate

func (this *Account) Validate() error

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type CoreApiServiceClient

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 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 (*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 (*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

Jump to

Keyboard shortcuts

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