Documentation ¶
Overview ¶
Package stakepoolrpc is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
GetAddedLowFeeTicketsRequest GetAddedLowFeeTicketsResponse GetIgnoredLowFeeTicketsRequest GetIgnoredLowFeeTicketsResponse GetLiveTicketsRequest GetLiveTicketsResponse PingRequest PingResponse SetAddedLowFeeTicketsRequest SetAddedLowFeeTicketsResponse SetUserVotingPrefsResponse SetUserVotingPrefsRequest TicketEntry UserVotingConfigEntry VersionRequest VersionResponse
Index ¶
- func RegisterStakepooldServiceServer(s *grpc.Server, srv StakepooldServiceServer)
- func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
- type GetAddedLowFeeTicketsRequest
- type GetAddedLowFeeTicketsResponse
- type GetIgnoredLowFeeTicketsRequest
- type GetIgnoredLowFeeTicketsResponse
- func (*GetIgnoredLowFeeTicketsResponse) Descriptor() ([]byte, []int)
- func (m *GetIgnoredLowFeeTicketsResponse) GetTickets() []*TicketEntry
- func (*GetIgnoredLowFeeTicketsResponse) ProtoMessage()
- func (m *GetIgnoredLowFeeTicketsResponse) Reset()
- func (m *GetIgnoredLowFeeTicketsResponse) String() string
- type GetLiveTicketsRequest
- type GetLiveTicketsResponse
- type PingRequest
- type PingResponse
- type SetAddedLowFeeTicketsRequest
- type SetAddedLowFeeTicketsResponse
- type SetUserVotingPrefsRequest
- type SetUserVotingPrefsResponse
- type StakepooldServiceClient
- type StakepooldServiceServer
- type TicketEntry
- type UserVotingConfigEntry
- func (*UserVotingConfigEntry) Descriptor() ([]byte, []int)
- func (m *UserVotingConfigEntry) GetMultiSigAddress() string
- func (m *UserVotingConfigEntry) GetUserId() int64
- func (m *UserVotingConfigEntry) GetVoteBits() int64
- func (m *UserVotingConfigEntry) GetVoteBitsVersion() int64
- func (*UserVotingConfigEntry) ProtoMessage()
- func (m *UserVotingConfigEntry) Reset()
- func (m *UserVotingConfigEntry) String() string
- type VersionRequest
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)
- func (m *VersionResponse) GetBuildMetadata() string
- func (m *VersionResponse) GetMajor() uint32
- func (m *VersionResponse) GetMinor() uint32
- func (m *VersionResponse) GetPatch() uint32
- func (m *VersionResponse) GetPrerelease() string
- func (m *VersionResponse) GetVersionString() string
- func (*VersionResponse) ProtoMessage()
- func (m *VersionResponse) Reset()
- func (m *VersionResponse) String() string
- type VersionServiceClient
- type VersionServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStakepooldServiceServer ¶
func RegisterStakepooldServiceServer(s *grpc.Server, srv StakepooldServiceServer)
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
Types ¶
type GetAddedLowFeeTicketsRequest ¶
type GetAddedLowFeeTicketsRequest struct { }
func (*GetAddedLowFeeTicketsRequest) Descriptor ¶
func (*GetAddedLowFeeTicketsRequest) Descriptor() ([]byte, []int)
func (*GetAddedLowFeeTicketsRequest) ProtoMessage ¶
func (*GetAddedLowFeeTicketsRequest) ProtoMessage()
func (*GetAddedLowFeeTicketsRequest) Reset ¶
func (m *GetAddedLowFeeTicketsRequest) Reset()
func (*GetAddedLowFeeTicketsRequest) String ¶
func (m *GetAddedLowFeeTicketsRequest) String() string
type GetAddedLowFeeTicketsResponse ¶
type GetAddedLowFeeTicketsResponse struct {
Tickets []*TicketEntry `protobuf:"bytes,1,rep,name=tickets" json:"tickets,omitempty"`
}
func (*GetAddedLowFeeTicketsResponse) Descriptor ¶
func (*GetAddedLowFeeTicketsResponse) Descriptor() ([]byte, []int)
func (*GetAddedLowFeeTicketsResponse) GetTickets ¶
func (m *GetAddedLowFeeTicketsResponse) GetTickets() []*TicketEntry
func (*GetAddedLowFeeTicketsResponse) ProtoMessage ¶
func (*GetAddedLowFeeTicketsResponse) ProtoMessage()
func (*GetAddedLowFeeTicketsResponse) Reset ¶
func (m *GetAddedLowFeeTicketsResponse) Reset()
func (*GetAddedLowFeeTicketsResponse) String ¶
func (m *GetAddedLowFeeTicketsResponse) String() string
type GetIgnoredLowFeeTicketsRequest ¶
type GetIgnoredLowFeeTicketsRequest struct { }
func (*GetIgnoredLowFeeTicketsRequest) Descriptor ¶
func (*GetIgnoredLowFeeTicketsRequest) Descriptor() ([]byte, []int)
func (*GetIgnoredLowFeeTicketsRequest) ProtoMessage ¶
func (*GetIgnoredLowFeeTicketsRequest) ProtoMessage()
func (*GetIgnoredLowFeeTicketsRequest) Reset ¶
func (m *GetIgnoredLowFeeTicketsRequest) Reset()
func (*GetIgnoredLowFeeTicketsRequest) String ¶
func (m *GetIgnoredLowFeeTicketsRequest) String() string
type GetIgnoredLowFeeTicketsResponse ¶
type GetIgnoredLowFeeTicketsResponse struct {
Tickets []*TicketEntry `protobuf:"bytes,1,rep,name=tickets" json:"tickets,omitempty"`
}
func (*GetIgnoredLowFeeTicketsResponse) Descriptor ¶
func (*GetIgnoredLowFeeTicketsResponse) Descriptor() ([]byte, []int)
func (*GetIgnoredLowFeeTicketsResponse) GetTickets ¶
func (m *GetIgnoredLowFeeTicketsResponse) GetTickets() []*TicketEntry
func (*GetIgnoredLowFeeTicketsResponse) ProtoMessage ¶
func (*GetIgnoredLowFeeTicketsResponse) ProtoMessage()
func (*GetIgnoredLowFeeTicketsResponse) Reset ¶
func (m *GetIgnoredLowFeeTicketsResponse) Reset()
func (*GetIgnoredLowFeeTicketsResponse) String ¶
func (m *GetIgnoredLowFeeTicketsResponse) String() string
type GetLiveTicketsRequest ¶
type GetLiveTicketsRequest struct { }
func (*GetLiveTicketsRequest) Descriptor ¶
func (*GetLiveTicketsRequest) Descriptor() ([]byte, []int)
func (*GetLiveTicketsRequest) ProtoMessage ¶
func (*GetLiveTicketsRequest) ProtoMessage()
func (*GetLiveTicketsRequest) Reset ¶
func (m *GetLiveTicketsRequest) Reset()
func (*GetLiveTicketsRequest) String ¶
func (m *GetLiveTicketsRequest) String() string
type GetLiveTicketsResponse ¶
type GetLiveTicketsResponse struct {
Tickets []*TicketEntry `protobuf:"bytes,1,rep,name=tickets" json:"tickets,omitempty"`
}
func (*GetLiveTicketsResponse) Descriptor ¶
func (*GetLiveTicketsResponse) Descriptor() ([]byte, []int)
func (*GetLiveTicketsResponse) GetTickets ¶
func (m *GetLiveTicketsResponse) GetTickets() []*TicketEntry
func (*GetLiveTicketsResponse) ProtoMessage ¶
func (*GetLiveTicketsResponse) ProtoMessage()
func (*GetLiveTicketsResponse) Reset ¶
func (m *GetLiveTicketsResponse) Reset()
func (*GetLiveTicketsResponse) String ¶
func (m *GetLiveTicketsResponse) String() string
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { }
func (*PingResponse) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) String ¶
func (m *PingResponse) String() string
type SetAddedLowFeeTicketsRequest ¶
type SetAddedLowFeeTicketsRequest struct {
Tickets []*TicketEntry `protobuf:"bytes,1,rep,name=tickets" json:"tickets,omitempty"`
}
func (*SetAddedLowFeeTicketsRequest) Descriptor ¶
func (*SetAddedLowFeeTicketsRequest) Descriptor() ([]byte, []int)
func (*SetAddedLowFeeTicketsRequest) GetTickets ¶
func (m *SetAddedLowFeeTicketsRequest) GetTickets() []*TicketEntry
func (*SetAddedLowFeeTicketsRequest) ProtoMessage ¶
func (*SetAddedLowFeeTicketsRequest) ProtoMessage()
func (*SetAddedLowFeeTicketsRequest) Reset ¶
func (m *SetAddedLowFeeTicketsRequest) Reset()
func (*SetAddedLowFeeTicketsRequest) String ¶
func (m *SetAddedLowFeeTicketsRequest) String() string
type SetAddedLowFeeTicketsResponse ¶
type SetAddedLowFeeTicketsResponse struct { }
func (*SetAddedLowFeeTicketsResponse) Descriptor ¶
func (*SetAddedLowFeeTicketsResponse) Descriptor() ([]byte, []int)
func (*SetAddedLowFeeTicketsResponse) ProtoMessage ¶
func (*SetAddedLowFeeTicketsResponse) ProtoMessage()
func (*SetAddedLowFeeTicketsResponse) Reset ¶
func (m *SetAddedLowFeeTicketsResponse) Reset()
func (*SetAddedLowFeeTicketsResponse) String ¶
func (m *SetAddedLowFeeTicketsResponse) String() string
type SetUserVotingPrefsRequest ¶
type SetUserVotingPrefsRequest struct {
UserVotingConfig []*UserVotingConfigEntry `protobuf:"bytes,1,rep,name=user_voting_config,json=userVotingConfig" json:"user_voting_config,omitempty"`
}
func (*SetUserVotingPrefsRequest) Descriptor ¶
func (*SetUserVotingPrefsRequest) Descriptor() ([]byte, []int)
func (*SetUserVotingPrefsRequest) GetUserVotingConfig ¶
func (m *SetUserVotingPrefsRequest) GetUserVotingConfig() []*UserVotingConfigEntry
func (*SetUserVotingPrefsRequest) ProtoMessage ¶
func (*SetUserVotingPrefsRequest) ProtoMessage()
func (*SetUserVotingPrefsRequest) Reset ¶
func (m *SetUserVotingPrefsRequest) Reset()
func (*SetUserVotingPrefsRequest) String ¶
func (m *SetUserVotingPrefsRequest) String() string
type SetUserVotingPrefsResponse ¶
type SetUserVotingPrefsResponse struct { }
func (*SetUserVotingPrefsResponse) Descriptor ¶
func (*SetUserVotingPrefsResponse) Descriptor() ([]byte, []int)
func (*SetUserVotingPrefsResponse) ProtoMessage ¶
func (*SetUserVotingPrefsResponse) ProtoMessage()
func (*SetUserVotingPrefsResponse) Reset ¶
func (m *SetUserVotingPrefsResponse) Reset()
func (*SetUserVotingPrefsResponse) String ¶
func (m *SetUserVotingPrefsResponse) String() string
type StakepooldServiceClient ¶
type StakepooldServiceClient interface { GetAddedLowFeeTickets(ctx context.Context, in *GetAddedLowFeeTicketsRequest, opts ...grpc.CallOption) (*GetAddedLowFeeTicketsResponse, error) GetIgnoredLowFeeTickets(ctx context.Context, in *GetIgnoredLowFeeTicketsRequest, opts ...grpc.CallOption) (*GetIgnoredLowFeeTicketsResponse, error) GetLiveTickets(ctx context.Context, in *GetLiveTicketsRequest, opts ...grpc.CallOption) (*GetLiveTicketsResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) SetAddedLowFeeTickets(ctx context.Context, in *SetAddedLowFeeTicketsRequest, opts ...grpc.CallOption) (*SetAddedLowFeeTicketsResponse, error) SetUserVotingPrefs(ctx context.Context, in *SetUserVotingPrefsRequest, opts ...grpc.CallOption) (*SetUserVotingPrefsResponse, error) }
func NewStakepooldServiceClient ¶
func NewStakepooldServiceClient(cc *grpc.ClientConn) StakepooldServiceClient
type StakepooldServiceServer ¶
type StakepooldServiceServer interface { GetAddedLowFeeTickets(context.Context, *GetAddedLowFeeTicketsRequest) (*GetAddedLowFeeTicketsResponse, error) GetIgnoredLowFeeTickets(context.Context, *GetIgnoredLowFeeTicketsRequest) (*GetIgnoredLowFeeTicketsResponse, error) GetLiveTickets(context.Context, *GetLiveTicketsRequest) (*GetLiveTicketsResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) SetAddedLowFeeTickets(context.Context, *SetAddedLowFeeTicketsRequest) (*SetAddedLowFeeTicketsResponse, error) SetUserVotingPrefs(context.Context, *SetUserVotingPrefsRequest) (*SetUserVotingPrefsResponse, error) }
type TicketEntry ¶
type TicketEntry struct { TicketAddress string `protobuf:"bytes,1,opt,name=TicketAddress" json:"TicketAddress,omitempty"` TicketHash []byte `protobuf:"bytes,2,opt,name=TicketHash,proto3" json:"TicketHash,omitempty"` }
func (*TicketEntry) Descriptor ¶
func (*TicketEntry) Descriptor() ([]byte, []int)
func (*TicketEntry) GetTicketAddress ¶
func (m *TicketEntry) GetTicketAddress() string
func (*TicketEntry) GetTicketHash ¶
func (m *TicketEntry) GetTicketHash() []byte
func (*TicketEntry) ProtoMessage ¶
func (*TicketEntry) ProtoMessage()
func (*TicketEntry) Reset ¶
func (m *TicketEntry) Reset()
func (*TicketEntry) String ¶
func (m *TicketEntry) String() string
type UserVotingConfigEntry ¶
type UserVotingConfigEntry struct { UserId int64 `protobuf:"varint,1,opt,name=UserId" json:"UserId,omitempty"` MultiSigAddress string `protobuf:"bytes,2,opt,name=MultiSigAddress" json:"MultiSigAddress,omitempty"` VoteBits int64 `protobuf:"varint,3,opt,name=VoteBits" json:"VoteBits,omitempty"` VoteBitsVersion int64 `protobuf:"varint,4,opt,name=VoteBitsVersion" json:"VoteBitsVersion,omitempty"` }
func (*UserVotingConfigEntry) Descriptor ¶
func (*UserVotingConfigEntry) Descriptor() ([]byte, []int)
func (*UserVotingConfigEntry) GetMultiSigAddress ¶
func (m *UserVotingConfigEntry) GetMultiSigAddress() string
func (*UserVotingConfigEntry) GetUserId ¶
func (m *UserVotingConfigEntry) GetUserId() int64
func (*UserVotingConfigEntry) GetVoteBits ¶
func (m *UserVotingConfigEntry) GetVoteBits() int64
func (*UserVotingConfigEntry) GetVoteBitsVersion ¶
func (m *UserVotingConfigEntry) GetVoteBitsVersion() int64
func (*UserVotingConfigEntry) ProtoMessage ¶
func (*UserVotingConfigEntry) ProtoMessage()
func (*UserVotingConfigEntry) Reset ¶
func (m *UserVotingConfigEntry) Reset()
func (*UserVotingConfigEntry) String ¶
func (m *UserVotingConfigEntry) String() string
type VersionRequest ¶
type VersionRequest struct { }
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
type VersionResponse ¶
type VersionResponse struct { VersionString string `protobuf:"bytes,1,opt,name=version_string,json=versionString" json:"version_string,omitempty"` Major uint32 `protobuf:"varint,2,opt,name=major" json:"major,omitempty"` Minor uint32 `protobuf:"varint,3,opt,name=minor" json:"minor,omitempty"` Patch uint32 `protobuf:"varint,4,opt,name=patch" json:"patch,omitempty"` Prerelease string `protobuf:"bytes,5,opt,name=prerelease" json:"prerelease,omitempty"` BuildMetadata string `protobuf:"bytes,6,opt,name=build_metadata,json=buildMetadata" json:"build_metadata,omitempty"` }
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetBuildMetadata ¶
func (m *VersionResponse) GetBuildMetadata() string
func (*VersionResponse) GetMajor ¶
func (m *VersionResponse) GetMajor() uint32
func (*VersionResponse) GetMinor ¶
func (m *VersionResponse) GetMinor() uint32
func (*VersionResponse) GetPatch ¶
func (m *VersionResponse) GetPatch() uint32
func (*VersionResponse) GetPrerelease ¶
func (m *VersionResponse) GetPrerelease() string
func (*VersionResponse) GetVersionString ¶
func (m *VersionResponse) GetVersionString() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
type VersionServiceClient ¶
type VersionServiceClient interface {
Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc *grpc.ClientConn) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface {
Version(context.Context, *VersionRequest) (*VersionResponse, error)
}
Click to show internal directories.
Click to hide internal directories.