Documentation ¶
Index ¶
- Variables
- func RegisterAddonsAPIServer(s grpc.ServiceRegistrar, srv AddonsAPIServer)
- func RegisterGossipAPIServer(s grpc.ServiceRegistrar, srv GossipAPIServer)
- func RegisterNotaryAPIServer(s grpc.ServiceRegistrar, srv NotaryAPIServer)
- func RegisterWalletClientAPIServer(s grpc.ServiceRegistrar, srv WalletClientAPIServer)
- func RegisterWebhooksAPIServer(s grpc.ServiceRegistrar, srv WebhooksAPIServer)
- type AddonsAPIClient
- type AddonsAPIServer
- type AddonsError
- type AddonsMessage
- func (*AddonsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *AddonsMessage) GetData() []byte
- func (x *AddonsMessage) GetToken() string
- func (*AddonsMessage) ProtoMessage()
- func (x *AddonsMessage) ProtoReflect() protoreflect.Message
- func (x *AddonsMessage) Reset()
- func (x *AddonsMessage) String() string
- type Address
- type Addresses
- type AliveData
- func (*AliveData) Descriptor() ([]byte, []int)deprecated
- func (x *AliveData) GetApiHeader() string
- func (x *AliveData) GetApiVersion() string
- func (x *AliveData) GetPublicAddress() string
- func (*AliveData) ProtoMessage()
- func (x *AliveData) ProtoReflect() protoreflect.Message
- func (x *AliveData) Reset()
- func (x *AliveData) String() string
- type ConnectedNodes
- func (*ConnectedNodes) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectedNodes) GetConnections() []*ConnectionData
- func (x *ConnectedNodes) GetSignerPublicAddress() string
- func (*ConnectedNodes) ProtoMessage()
- func (x *ConnectedNodes) ProtoReflect() protoreflect.Message
- func (x *ConnectedNodes) Reset()
- func (x *ConnectedNodes) String() string
- type ConnectionData
- func (*ConnectionData) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionData) GetCreatedAt() uint64
- func (x *ConnectionData) GetDigest() []byte
- func (x *ConnectionData) GetPublicAddress() string
- func (x *ConnectionData) GetSignature() []byte
- func (x *ConnectionData) GetUrl() string
- func (*ConnectionData) ProtoMessage()
- func (x *ConnectionData) ProtoReflect() protoreflect.Message
- func (x *ConnectionData) Reset()
- func (x *ConnectionData) String() string
- type CreateWebHook
- type DataBlob
- type GossipAPIClient
- type GossipAPIServer
- type GossipAPI_LoadDagClient
- type GossipAPI_LoadDagServer
- type Gossiper
- func (*Gossiper) Descriptor() ([]byte, []int)deprecated
- func (x *Gossiper) GetAddress() string
- func (x *Gossiper) GetDigest() []byte
- func (x *Gossiper) GetSignature() []byte
- func (*Gossiper) ProtoMessage()
- func (x *Gossiper) ProtoReflect() protoreflect.Message
- func (x *Gossiper) Reset()
- func (x *Gossiper) String() string
- type IssueTrx
- func (*IssueTrx) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTrx) GetData() []byte
- func (x *IssueTrx) GetReceiverAddress() string
- func (x *IssueTrx) GetSpice() *Spice
- func (x *IssueTrx) GetSubject() string
- func (*IssueTrx) ProtoMessage()
- func (x *IssueTrx) ProtoReflect() protoreflect.Message
- func (x *IssueTrx) Reset()
- func (x *IssueTrx) String() string
- type NotaryAPIClient
- type NotaryAPIServer
- type NotaryNode
- type SignedHash
- func (*SignedHash) Descriptor() ([]byte, []int)deprecated
- func (x *SignedHash) GetAddress() string
- func (x *SignedHash) GetData() []byte
- func (x *SignedHash) GetHash() []byte
- func (x *SignedHash) GetSignature() []byte
- func (*SignedHash) ProtoMessage()
- func (x *SignedHash) ProtoReflect() protoreflect.Message
- func (x *SignedHash) Reset()
- func (x *SignedHash) String() string
- type Spice
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetCreatedAt() uint64
- func (x *Transaction) GetData() []byte
- func (x *Transaction) GetHash() []byte
- func (x *Transaction) GetIssuerAddress() string
- func (x *Transaction) GetIssuerSignature() []byte
- func (x *Transaction) GetReceiverAddress() string
- func (x *Transaction) GetReceiverSignature() []byte
- func (x *Transaction) GetSpice() *Spice
- func (x *Transaction) GetSubject() string
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionApproved
- func (*TransactionApproved) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionApproved) GetTransaction() *Transaction
- func (x *TransactionApproved) GetUrl() string
- func (*TransactionApproved) ProtoMessage()
- func (x *TransactionApproved) ProtoReflect() protoreflect.Message
- func (x *TransactionApproved) Reset()
- func (x *TransactionApproved) String() string
- type Transactions
- func (*Transactions) Descriptor() ([]byte, []int)deprecated
- func (x *Transactions) GetArray() []*Transaction
- func (x *Transactions) GetLen() uint64
- func (*Transactions) ProtoMessage()
- func (x *Transactions) ProtoReflect() protoreflect.Message
- func (x *Transactions) Reset()
- func (x *Transactions) String() string
- type TrxHash
- type TrxMsgGossip
- func (*TrxMsgGossip) Descriptor() ([]byte, []int)deprecated
- func (x *TrxMsgGossip) GetGossipers() []*Gossiper
- func (x *TrxMsgGossip) GetTrx() *Transaction
- func (*TrxMsgGossip) ProtoMessage()
- func (x *TrxMsgGossip) ProtoReflect() protoreflect.Message
- func (x *TrxMsgGossip) Reset()
- func (x *TrxMsgGossip) String() string
- type UnimplementedAddonsAPIServer
- type UnimplementedGossipAPIServer
- func (UnimplementedGossipAPIServer) Alive(context.Context, *emptypb.Empty) (*AliveData, error)
- func (UnimplementedGossipAPIServer) Announce(context.Context, *ConnectionData) (*emptypb.Empty, error)
- func (UnimplementedGossipAPIServer) Discover(context.Context, *ConnectionData) (*ConnectedNodes, error)
- func (UnimplementedGossipAPIServer) GetVertex(context.Context, *SignedHash) (*Vertex, error)
- func (UnimplementedGossipAPIServer) GossipTrx(context.Context, *TrxMsgGossip) (*emptypb.Empty, error)
- func (UnimplementedGossipAPIServer) GossipVrx(context.Context, *VrxMsgGossip) (*emptypb.Empty, error)
- func (UnimplementedGossipAPIServer) LoadDag(*emptypb.Empty, GossipAPI_LoadDagServer) error
- type UnimplementedNotaryAPIServer
- func (UnimplementedNotaryAPIServer) Alive(context.Context, *emptypb.Empty) (*AliveData, error)
- func (UnimplementedNotaryAPIServer) Balance(context.Context, *SignedHash) (*Spice, error)
- func (UnimplementedNotaryAPIServer) Confirm(context.Context, *Transaction) (*emptypb.Empty, error)
- func (UnimplementedNotaryAPIServer) Data(context.Context, *Address) (*DataBlob, error)
- func (UnimplementedNotaryAPIServer) Propose(context.Context, *Transaction) (*emptypb.Empty, error)
- func (UnimplementedNotaryAPIServer) Reject(context.Context, *SignedHash) (*emptypb.Empty, error)
- func (UnimplementedNotaryAPIServer) Saved(context.Context, *SignedHash) (*Transaction, error)
- func (UnimplementedNotaryAPIServer) TransactionsInDAG(context.Context, *SignedHash) (*Transactions, error)
- func (UnimplementedNotaryAPIServer) Waiting(context.Context, *SignedHash) (*Transactions, error)
- type UnimplementedWalletClientAPIServer
- func (UnimplementedWalletClientAPIServer) Alive(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedWalletClientAPIServer) Approve(context.Context, *TransactionApproved) (*emptypb.Empty, error)
- func (UnimplementedWalletClientAPIServer) Balance(context.Context, *emptypb.Empty) (*Spice, error)
- func (UnimplementedWalletClientAPIServer) Issue(context.Context, *IssueTrx) (*emptypb.Empty, error)
- func (UnimplementedWalletClientAPIServer) Reject(context.Context, *TrxHash) (*emptypb.Empty, error)
- func (UnimplementedWalletClientAPIServer) Saved(context.Context, *TrxHash) (*Transaction, error)
- func (UnimplementedWalletClientAPIServer) Waiting(context.Context, *NotaryNode) (*Transactions, error)
- func (UnimplementedWalletClientAPIServer) WalletPublicAddress(context.Context, *emptypb.Empty) (*Address, error)
- func (UnimplementedWalletClientAPIServer) WebHook(context.Context, *CreateWebHook) (*emptypb.Empty, error)
- type UnimplementedWebhooksAPIServer
- type UnsafeAddonsAPIServer
- type UnsafeGossipAPIServer
- type UnsafeNotaryAPIServer
- type UnsafeWalletClientAPIServer
- type UnsafeWebhooksAPIServer
- type Vertex
- func (*Vertex) Descriptor() ([]byte, []int)deprecated
- func (x *Vertex) GetCreatedAt() uint64
- func (x *Vertex) GetHash() []byte
- func (x *Vertex) GetLeftParentHash() []byte
- func (x *Vertex) GetRightParentHash() []byte
- func (x *Vertex) GetSignature() []byte
- func (x *Vertex) GetSignerPublicAddress() string
- func (x *Vertex) GetTransaction() *Transaction
- func (x *Vertex) GetWeight() uint64
- func (*Vertex) ProtoMessage()
- func (x *Vertex) ProtoReflect() protoreflect.Message
- func (x *Vertex) Reset()
- func (x *Vertex) String() string
- type VrxMsgGossip
- func (*VrxMsgGossip) Descriptor() ([]byte, []int)deprecated
- func (x *VrxMsgGossip) GetGossipers() []*Gossiper
- func (x *VrxMsgGossip) GetVertex() *Vertex
- func (*VrxMsgGossip) ProtoMessage()
- func (x *VrxMsgGossip) ProtoReflect() protoreflect.Message
- func (x *VrxMsgGossip) Reset()
- func (x *VrxMsgGossip) String() string
- type WalletClientAPIClient
- type WalletClientAPIServer
- type WebhooksAPIClient
- type WebhooksAPIServer
Constants ¶
This section is empty.
Variables ¶
var AddonsAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "computantis.AddonsAPI", HandlerType: (*AddonsAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AnalyzeTransaction", Handler: _AddonsAPI_AnalyzeTransaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "addons.proto", }
AddonsAPI_ServiceDesc is the grpc.ServiceDesc for AddonsAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_addons_proto protoreflect.FileDescriptor
var File_computantistypes_proto protoreflect.FileDescriptor
var File_gossip_proto protoreflect.FileDescriptor
var File_notary_proto protoreflect.FileDescriptor
var File_wallet_proto protoreflect.FileDescriptor
var File_webhooks_proto protoreflect.FileDescriptor
var GossipAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "computantis.GossipAPI", HandlerType: (*GossipAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Alive", Handler: _GossipAPI_Alive_Handler, }, { MethodName: "Announce", Handler: _GossipAPI_Announce_Handler, }, { MethodName: "Discover", Handler: _GossipAPI_Discover_Handler, }, { MethodName: "GossipVrx", Handler: _GossipAPI_GossipVrx_Handler, }, { MethodName: "GossipTrx", Handler: _GossipAPI_GossipTrx_Handler, }, { MethodName: "GetVertex", Handler: _GossipAPI_GetVertex_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "LoadDag", Handler: _GossipAPI_LoadDag_Handler, ServerStreams: true, }, }, Metadata: "gossip.proto", }
GossipAPI_ServiceDesc is the grpc.ServiceDesc for GossipAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NotaryAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "computantis.NotaryAPI", HandlerType: (*NotaryAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Alive", Handler: _NotaryAPI_Alive_Handler, }, { MethodName: "Propose", Handler: _NotaryAPI_Propose_Handler, }, { MethodName: "Confirm", Handler: _NotaryAPI_Confirm_Handler, }, { MethodName: "Reject", Handler: _NotaryAPI_Reject_Handler, }, { MethodName: "Waiting", Handler: _NotaryAPI_Waiting_Handler, }, { MethodName: "Saved", Handler: _NotaryAPI_Saved_Handler, }, { MethodName: "Data", Handler: _NotaryAPI_Data_Handler, }, { MethodName: "TransactionsInDAG", Handler: _NotaryAPI_TransactionsInDAG_Handler, }, { MethodName: "Balance", Handler: _NotaryAPI_Balance_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "notary.proto", }
NotaryAPI_ServiceDesc is the grpc.ServiceDesc for NotaryAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WalletClientAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "computantis.WalletClientAPI", HandlerType: (*WalletClientAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Alive", Handler: _WalletClientAPI_Alive_Handler, }, { MethodName: "WalletPublicAddress", Handler: _WalletClientAPI_WalletPublicAddress_Handler, }, { MethodName: "Issue", Handler: _WalletClientAPI_Issue_Handler, }, { MethodName: "Approve", Handler: _WalletClientAPI_Approve_Handler, }, { MethodName: "Reject", Handler: _WalletClientAPI_Reject_Handler, }, { MethodName: "Waiting", Handler: _WalletClientAPI_Waiting_Handler, }, { MethodName: "Saved", Handler: _WalletClientAPI_Saved_Handler, }, { MethodName: "WebHook", Handler: _WalletClientAPI_WebHook_Handler, }, { MethodName: "Balance", Handler: _WalletClientAPI_Balance_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wallet.proto", }
WalletClientAPI_ServiceDesc is the grpc.ServiceDesc for WalletClientAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WebhooksAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "computantis.WebhooksAPI", HandlerType: (*WebhooksAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Alive", Handler: _WebhooksAPI_Alive_Handler, }, { MethodName: "Webhooks", Handler: _WebhooksAPI_Webhooks_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "webhooks.proto", }
WebhooksAPI_ServiceDesc is the grpc.ServiceDesc for WebhooksAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAddonsAPIServer ¶
func RegisterAddonsAPIServer(s grpc.ServiceRegistrar, srv AddonsAPIServer)
func RegisterGossipAPIServer ¶
func RegisterGossipAPIServer(s grpc.ServiceRegistrar, srv GossipAPIServer)
func RegisterNotaryAPIServer ¶
func RegisterNotaryAPIServer(s grpc.ServiceRegistrar, srv NotaryAPIServer)
func RegisterWalletClientAPIServer ¶
func RegisterWalletClientAPIServer(s grpc.ServiceRegistrar, srv WalletClientAPIServer)
func RegisterWebhooksAPIServer ¶
func RegisterWebhooksAPIServer(s grpc.ServiceRegistrar, srv WebhooksAPIServer)
Types ¶
type AddonsAPIClient ¶
type AddonsAPIClient interface {
AnalyzeTransaction(ctx context.Context, in *AddonsMessage, opts ...grpc.CallOption) (*AddonsError, error)
}
AddonsAPIClient is the client API for AddonsAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAddonsAPIClient ¶
func NewAddonsAPIClient(cc grpc.ClientConnInterface) AddonsAPIClient
type AddonsAPIServer ¶
type AddonsAPIServer interface { AnalyzeTransaction(context.Context, *AddonsMessage) (*AddonsError, error) // contains filtered or unexported methods }
AddonsAPIServer is the server API for AddonsAPI service. All implementations must embed UnimplementedAddonsAPIServer for forward compatibility
type AddonsError ¶
type AddonsError struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*AddonsError) Descriptor
deprecated
func (*AddonsError) Descriptor() ([]byte, []int)
Deprecated: Use AddonsError.ProtoReflect.Descriptor instead.
func (*AddonsError) GetError ¶
func (x *AddonsError) GetError() string
func (*AddonsError) ProtoMessage ¶
func (*AddonsError) ProtoMessage()
func (*AddonsError) ProtoReflect ¶
func (x *AddonsError) ProtoReflect() protoreflect.Message
func (*AddonsError) Reset ¶
func (x *AddonsError) Reset()
func (*AddonsError) String ¶
func (x *AddonsError) String() string
type AddonsMessage ¶
type AddonsMessage struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AddonsMessage) Descriptor
deprecated
func (*AddonsMessage) Descriptor() ([]byte, []int)
Deprecated: Use AddonsMessage.ProtoReflect.Descriptor instead.
func (*AddonsMessage) GetData ¶
func (x *AddonsMessage) GetData() []byte
func (*AddonsMessage) GetToken ¶
func (x *AddonsMessage) GetToken() string
func (*AddonsMessage) ProtoMessage ¶
func (*AddonsMessage) ProtoMessage()
func (*AddonsMessage) ProtoReflect ¶
func (x *AddonsMessage) ProtoReflect() protoreflect.Message
func (*AddonsMessage) Reset ¶
func (x *AddonsMessage) Reset()
func (*AddonsMessage) String ¶
func (x *AddonsMessage) String() string
type Address ¶
type Address struct { Public string `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Addresses ¶
type Addresses struct { NotaryUrl string `protobuf:"bytes,1,opt,name=notary_url,json=notaryUrl,proto3" json:"notary_url,omitempty"` Array []string `protobuf:"bytes,2,rep,name=array,proto3" json:"array,omitempty"` // contains filtered or unexported fields }
func (*Addresses) Descriptor
deprecated
func (*Addresses) GetNotaryUrl ¶
func (*Addresses) ProtoMessage ¶
func (*Addresses) ProtoMessage()
func (*Addresses) ProtoReflect ¶
func (x *Addresses) ProtoReflect() protoreflect.Message
type AliveData ¶
type AliveData struct { ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` ApiHeader string `protobuf:"bytes,2,opt,name=api_header,json=apiHeader,proto3" json:"api_header,omitempty"` PublicAddress string `protobuf:"bytes,3,opt,name=public_address,json=publicAddress,proto3" json:"public_address,omitempty"` // contains filtered or unexported fields }
func (*AliveData) Descriptor
deprecated
func (*AliveData) GetApiHeader ¶
func (*AliveData) GetApiVersion ¶
func (*AliveData) GetPublicAddress ¶
func (*AliveData) ProtoMessage ¶
func (*AliveData) ProtoMessage()
func (*AliveData) ProtoReflect ¶
func (x *AliveData) ProtoReflect() protoreflect.Message
type ConnectedNodes ¶
type ConnectedNodes struct { SignerPublicAddress string `protobuf:"bytes,1,opt,name=signer_public_address,json=signerPublicAddress,proto3" json:"signer_public_address,omitempty"` Connections []*ConnectionData `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"` // contains filtered or unexported fields }
func (*ConnectedNodes) Descriptor
deprecated
func (*ConnectedNodes) Descriptor() ([]byte, []int)
Deprecated: Use ConnectedNodes.ProtoReflect.Descriptor instead.
func (*ConnectedNodes) GetConnections ¶
func (x *ConnectedNodes) GetConnections() []*ConnectionData
func (*ConnectedNodes) GetSignerPublicAddress ¶
func (x *ConnectedNodes) GetSignerPublicAddress() string
func (*ConnectedNodes) ProtoMessage ¶
func (*ConnectedNodes) ProtoMessage()
func (*ConnectedNodes) ProtoReflect ¶
func (x *ConnectedNodes) ProtoReflect() protoreflect.Message
func (*ConnectedNodes) Reset ¶
func (x *ConnectedNodes) Reset()
func (*ConnectedNodes) String ¶
func (x *ConnectedNodes) String() string
type ConnectionData ¶
type ConnectionData struct { PublicAddress string `protobuf:"bytes,1,opt,name=public_address,json=publicAddress,proto3" json:"public_address,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` CreatedAt uint64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Digest []byte `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"` Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*ConnectionData) Descriptor
deprecated
func (*ConnectionData) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionData.ProtoReflect.Descriptor instead.
func (*ConnectionData) GetCreatedAt ¶
func (x *ConnectionData) GetCreatedAt() uint64
func (*ConnectionData) GetDigest ¶
func (x *ConnectionData) GetDigest() []byte
func (*ConnectionData) GetPublicAddress ¶
func (x *ConnectionData) GetPublicAddress() string
func (*ConnectionData) GetSignature ¶
func (x *ConnectionData) GetSignature() []byte
func (*ConnectionData) GetUrl ¶
func (x *ConnectionData) GetUrl() string
func (*ConnectionData) ProtoMessage ¶
func (*ConnectionData) ProtoMessage()
func (*ConnectionData) ProtoReflect ¶
func (x *ConnectionData) ProtoReflect() protoreflect.Message
func (*ConnectionData) Reset ¶
func (x *ConnectionData) Reset()
func (*ConnectionData) String ¶
func (x *ConnectionData) String() string
type CreateWebHook ¶
type CreateWebHook struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*CreateWebHook) Descriptor
deprecated
func (*CreateWebHook) Descriptor() ([]byte, []int)
Deprecated: Use CreateWebHook.ProtoReflect.Descriptor instead.
func (*CreateWebHook) GetUrl ¶
func (x *CreateWebHook) GetUrl() string
func (*CreateWebHook) ProtoMessage ¶
func (*CreateWebHook) ProtoMessage()
func (*CreateWebHook) ProtoReflect ¶
func (x *CreateWebHook) ProtoReflect() protoreflect.Message
func (*CreateWebHook) Reset ¶
func (x *CreateWebHook) Reset()
func (*CreateWebHook) String ¶
func (x *CreateWebHook) String() string
type DataBlob ¶
type DataBlob struct { Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"` // contains filtered or unexported fields }
func (*DataBlob) Descriptor
deprecated
func (*DataBlob) ProtoMessage ¶
func (*DataBlob) ProtoMessage()
func (*DataBlob) ProtoReflect ¶
func (x *DataBlob) ProtoReflect() protoreflect.Message
type GossipAPIClient ¶
type GossipAPIClient interface { Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AliveData, error) LoadDag(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (GossipAPI_LoadDagClient, error) Announce(ctx context.Context, in *ConnectionData, opts ...grpc.CallOption) (*emptypb.Empty, error) Discover(ctx context.Context, in *ConnectionData, opts ...grpc.CallOption) (*ConnectedNodes, error) GossipVrx(ctx context.Context, in *VrxMsgGossip, opts ...grpc.CallOption) (*emptypb.Empty, error) GossipTrx(ctx context.Context, in *TrxMsgGossip, opts ...grpc.CallOption) (*emptypb.Empty, error) GetVertex(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Vertex, error) }
GossipAPIClient is the client API for GossipAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGossipAPIClient ¶
func NewGossipAPIClient(cc grpc.ClientConnInterface) GossipAPIClient
type GossipAPIServer ¶
type GossipAPIServer interface { Alive(context.Context, *emptypb.Empty) (*AliveData, error) LoadDag(*emptypb.Empty, GossipAPI_LoadDagServer) error Announce(context.Context, *ConnectionData) (*emptypb.Empty, error) Discover(context.Context, *ConnectionData) (*ConnectedNodes, error) GossipVrx(context.Context, *VrxMsgGossip) (*emptypb.Empty, error) GossipTrx(context.Context, *TrxMsgGossip) (*emptypb.Empty, error) GetVertex(context.Context, *SignedHash) (*Vertex, error) // contains filtered or unexported methods }
GossipAPIServer is the server API for GossipAPI service. All implementations must embed UnimplementedGossipAPIServer for forward compatibility
type GossipAPI_LoadDagClient ¶
type GossipAPI_LoadDagClient interface { Recv() (*Vertex, error) grpc.ClientStream }
type GossipAPI_LoadDagServer ¶
type GossipAPI_LoadDagServer interface { Send(*Vertex) error grpc.ServerStream }
type Gossiper ¶
type Gossiper struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Gossiper) Descriptor
deprecated
func (*Gossiper) GetAddress ¶
func (*Gossiper) GetSignature ¶
func (*Gossiper) ProtoMessage ¶
func (*Gossiper) ProtoMessage()
func (*Gossiper) ProtoReflect ¶
func (x *Gossiper) ProtoReflect() protoreflect.Message
type IssueTrx ¶
type IssueTrx struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` ReceiverAddress string `protobuf:"bytes,2,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Spice *Spice `protobuf:"bytes,4,opt,name=spice,proto3" json:"spice,omitempty"` // contains filtered or unexported fields }
func (*IssueTrx) Descriptor
deprecated
func (*IssueTrx) GetReceiverAddress ¶
func (*IssueTrx) GetSubject ¶
func (*IssueTrx) ProtoMessage ¶
func (*IssueTrx) ProtoMessage()
func (*IssueTrx) ProtoReflect ¶
func (x *IssueTrx) ProtoReflect() protoreflect.Message
type NotaryAPIClient ¶
type NotaryAPIClient interface { Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AliveData, error) Propose(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*emptypb.Empty, error) Confirm(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*emptypb.Empty, error) Reject(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*emptypb.Empty, error) Waiting(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Transactions, error) Saved(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Transaction, error) Data(ctx context.Context, in *Address, opts ...grpc.CallOption) (*DataBlob, error) TransactionsInDAG(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Transactions, error) Balance(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Spice, error) }
NotaryAPIClient is the client API for NotaryAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNotaryAPIClient ¶
func NewNotaryAPIClient(cc grpc.ClientConnInterface) NotaryAPIClient
type NotaryAPIServer ¶
type NotaryAPIServer interface { Alive(context.Context, *emptypb.Empty) (*AliveData, error) Propose(context.Context, *Transaction) (*emptypb.Empty, error) Confirm(context.Context, *Transaction) (*emptypb.Empty, error) Reject(context.Context, *SignedHash) (*emptypb.Empty, error) Waiting(context.Context, *SignedHash) (*Transactions, error) Saved(context.Context, *SignedHash) (*Transaction, error) Data(context.Context, *Address) (*DataBlob, error) TransactionsInDAG(context.Context, *SignedHash) (*Transactions, error) Balance(context.Context, *SignedHash) (*Spice, error) // contains filtered or unexported methods }
NotaryAPIServer is the server API for NotaryAPI service. All implementations must embed UnimplementedNotaryAPIServer for forward compatibility
type NotaryNode ¶
type NotaryNode struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*NotaryNode) Descriptor
deprecated
func (*NotaryNode) Descriptor() ([]byte, []int)
Deprecated: Use NotaryNode.ProtoReflect.Descriptor instead.
func (*NotaryNode) GetUrl ¶
func (x *NotaryNode) GetUrl() string
func (*NotaryNode) ProtoMessage ¶
func (*NotaryNode) ProtoMessage()
func (*NotaryNode) ProtoReflect ¶
func (x *NotaryNode) ProtoReflect() protoreflect.Message
func (*NotaryNode) Reset ¶
func (x *NotaryNode) Reset()
func (*NotaryNode) String ¶
func (x *NotaryNode) String() string
type SignedHash ¶
type SignedHash struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignedHash) Descriptor
deprecated
func (*SignedHash) Descriptor() ([]byte, []int)
Deprecated: Use SignedHash.ProtoReflect.Descriptor instead.
func (*SignedHash) GetAddress ¶
func (x *SignedHash) GetAddress() string
func (*SignedHash) GetData ¶
func (x *SignedHash) GetData() []byte
func (*SignedHash) GetHash ¶
func (x *SignedHash) GetHash() []byte
func (*SignedHash) GetSignature ¶
func (x *SignedHash) GetSignature() []byte
func (*SignedHash) ProtoMessage ¶
func (*SignedHash) ProtoMessage()
func (*SignedHash) ProtoReflect ¶
func (x *SignedHash) ProtoReflect() protoreflect.Message
func (*SignedHash) Reset ¶
func (x *SignedHash) Reset()
func (*SignedHash) String ¶
func (x *SignedHash) String() string
type Spice ¶
type Spice struct { Currency uint64 `protobuf:"varint,1,opt,name=currency,proto3" json:"currency,omitempty"` SupplementaryCurrency uint64 `protobuf:"varint,2,opt,name=supplementary_currency,json=supplementaryCurrency,proto3" json:"supplementary_currency,omitempty"` // contains filtered or unexported fields }
func (*Spice) Descriptor
deprecated
func (*Spice) GetCurrency ¶
func (*Spice) GetSupplementaryCurrency ¶
func (*Spice) ProtoMessage ¶
func (*Spice) ProtoMessage()
func (*Spice) ProtoReflect ¶
func (x *Spice) ProtoReflect() protoreflect.Message
type Transaction ¶
type Transaction struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` CreatedAt uint64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ReceiverAddress string `protobuf:"bytes,5,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` IssuerAddress string `protobuf:"bytes,6,opt,name=issuer_address,json=issuerAddress,proto3" json:"issuer_address,omitempty"` ReceiverSignature []byte `protobuf:"bytes,7,opt,name=receiver_signature,json=receiverSignature,proto3" json:"receiver_signature,omitempty"` IssuerSignature []byte `protobuf:"bytes,8,opt,name=issuer_signature,json=issuerSignature,proto3" json:"issuer_signature,omitempty"` Spice *Spice `protobuf:"bytes,9,opt,name=spice,proto3" json:"spice,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetCreatedAt ¶
func (x *Transaction) GetCreatedAt() uint64
func (*Transaction) GetData ¶
func (x *Transaction) GetData() []byte
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() []byte
func (*Transaction) GetIssuerAddress ¶
func (x *Transaction) GetIssuerAddress() string
func (*Transaction) GetIssuerSignature ¶
func (x *Transaction) GetIssuerSignature() []byte
func (*Transaction) GetReceiverAddress ¶
func (x *Transaction) GetReceiverAddress() string
func (*Transaction) GetReceiverSignature ¶
func (x *Transaction) GetReceiverSignature() []byte
func (*Transaction) GetSpice ¶
func (x *Transaction) GetSpice() *Spice
func (*Transaction) GetSubject ¶
func (x *Transaction) GetSubject() string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionApproved ¶
type TransactionApproved struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*TransactionApproved) Descriptor
deprecated
func (*TransactionApproved) Descriptor() ([]byte, []int)
Deprecated: Use TransactionApproved.ProtoReflect.Descriptor instead.
func (*TransactionApproved) GetTransaction ¶
func (x *TransactionApproved) GetTransaction() *Transaction
func (*TransactionApproved) GetUrl ¶
func (x *TransactionApproved) GetUrl() string
func (*TransactionApproved) ProtoMessage ¶
func (*TransactionApproved) ProtoMessage()
func (*TransactionApproved) ProtoReflect ¶
func (x *TransactionApproved) ProtoReflect() protoreflect.Message
func (*TransactionApproved) Reset ¶
func (x *TransactionApproved) Reset()
func (*TransactionApproved) String ¶
func (x *TransactionApproved) String() string
type Transactions ¶
type Transactions struct { Array []*Transaction `protobuf:"bytes,1,rep,name=array,proto3" json:"array,omitempty"` Len uint64 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` // contains filtered or unexported fields }
func (*Transactions) Descriptor
deprecated
func (*Transactions) Descriptor() ([]byte, []int)
Deprecated: Use Transactions.ProtoReflect.Descriptor instead.
func (*Transactions) GetArray ¶
func (x *Transactions) GetArray() []*Transaction
func (*Transactions) GetLen ¶
func (x *Transactions) GetLen() uint64
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) ProtoReflect ¶
func (x *Transactions) ProtoReflect() protoreflect.Message
func (*Transactions) Reset ¶
func (x *Transactions) Reset()
func (*Transactions) String ¶
func (x *Transactions) String() string
type TrxHash ¶
type TrxHash struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*TrxHash) Descriptor
deprecated
func (*TrxHash) ProtoMessage ¶
func (*TrxHash) ProtoMessage()
func (*TrxHash) ProtoReflect ¶
func (x *TrxHash) ProtoReflect() protoreflect.Message
type TrxMsgGossip ¶
type TrxMsgGossip struct { Trx *Transaction `protobuf:"bytes,1,opt,name=trx,proto3" json:"trx,omitempty"` Gossipers []*Gossiper `protobuf:"bytes,2,rep,name=gossipers,proto3" json:"gossipers,omitempty"` // contains filtered or unexported fields }
func (*TrxMsgGossip) Descriptor
deprecated
func (*TrxMsgGossip) Descriptor() ([]byte, []int)
Deprecated: Use TrxMsgGossip.ProtoReflect.Descriptor instead.
func (*TrxMsgGossip) GetGossipers ¶
func (x *TrxMsgGossip) GetGossipers() []*Gossiper
func (*TrxMsgGossip) GetTrx ¶
func (x *TrxMsgGossip) GetTrx() *Transaction
func (*TrxMsgGossip) ProtoMessage ¶
func (*TrxMsgGossip) ProtoMessage()
func (*TrxMsgGossip) ProtoReflect ¶
func (x *TrxMsgGossip) ProtoReflect() protoreflect.Message
func (*TrxMsgGossip) Reset ¶
func (x *TrxMsgGossip) Reset()
func (*TrxMsgGossip) String ¶
func (x *TrxMsgGossip) String() string
type UnimplementedAddonsAPIServer ¶
type UnimplementedAddonsAPIServer struct { }
UnimplementedAddonsAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedAddonsAPIServer) AnalyzeTransaction ¶
func (UnimplementedAddonsAPIServer) AnalyzeTransaction(context.Context, *AddonsMessage) (*AddonsError, error)
type UnimplementedGossipAPIServer ¶
type UnimplementedGossipAPIServer struct { }
UnimplementedGossipAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedGossipAPIServer) Announce ¶
func (UnimplementedGossipAPIServer) Announce(context.Context, *ConnectionData) (*emptypb.Empty, error)
func (UnimplementedGossipAPIServer) Discover ¶
func (UnimplementedGossipAPIServer) Discover(context.Context, *ConnectionData) (*ConnectedNodes, error)
func (UnimplementedGossipAPIServer) GetVertex ¶
func (UnimplementedGossipAPIServer) GetVertex(context.Context, *SignedHash) (*Vertex, error)
func (UnimplementedGossipAPIServer) GossipTrx ¶
func (UnimplementedGossipAPIServer) GossipTrx(context.Context, *TrxMsgGossip) (*emptypb.Empty, error)
func (UnimplementedGossipAPIServer) GossipVrx ¶
func (UnimplementedGossipAPIServer) GossipVrx(context.Context, *VrxMsgGossip) (*emptypb.Empty, error)
func (UnimplementedGossipAPIServer) LoadDag ¶
func (UnimplementedGossipAPIServer) LoadDag(*emptypb.Empty, GossipAPI_LoadDagServer) error
type UnimplementedNotaryAPIServer ¶
type UnimplementedNotaryAPIServer struct { }
UnimplementedNotaryAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedNotaryAPIServer) Balance ¶
func (UnimplementedNotaryAPIServer) Balance(context.Context, *SignedHash) (*Spice, error)
func (UnimplementedNotaryAPIServer) Confirm ¶
func (UnimplementedNotaryAPIServer) Confirm(context.Context, *Transaction) (*emptypb.Empty, error)
func (UnimplementedNotaryAPIServer) Propose ¶
func (UnimplementedNotaryAPIServer) Propose(context.Context, *Transaction) (*emptypb.Empty, error)
func (UnimplementedNotaryAPIServer) Reject ¶
func (UnimplementedNotaryAPIServer) Reject(context.Context, *SignedHash) (*emptypb.Empty, error)
func (UnimplementedNotaryAPIServer) Saved ¶
func (UnimplementedNotaryAPIServer) Saved(context.Context, *SignedHash) (*Transaction, error)
func (UnimplementedNotaryAPIServer) TransactionsInDAG ¶
func (UnimplementedNotaryAPIServer) TransactionsInDAG(context.Context, *SignedHash) (*Transactions, error)
func (UnimplementedNotaryAPIServer) Waiting ¶
func (UnimplementedNotaryAPIServer) Waiting(context.Context, *SignedHash) (*Transactions, error)
type UnimplementedWalletClientAPIServer ¶
type UnimplementedWalletClientAPIServer struct { }
UnimplementedWalletClientAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedWalletClientAPIServer) Approve ¶
func (UnimplementedWalletClientAPIServer) Approve(context.Context, *TransactionApproved) (*emptypb.Empty, error)
func (UnimplementedWalletClientAPIServer) Saved ¶
func (UnimplementedWalletClientAPIServer) Saved(context.Context, *TrxHash) (*Transaction, error)
func (UnimplementedWalletClientAPIServer) Waiting ¶
func (UnimplementedWalletClientAPIServer) Waiting(context.Context, *NotaryNode) (*Transactions, error)
func (UnimplementedWalletClientAPIServer) WalletPublicAddress ¶
func (UnimplementedWalletClientAPIServer) WebHook ¶
func (UnimplementedWalletClientAPIServer) WebHook(context.Context, *CreateWebHook) (*emptypb.Empty, error)
type UnimplementedWebhooksAPIServer ¶
type UnimplementedWebhooksAPIServer struct { }
UnimplementedWebhooksAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedWebhooksAPIServer) Webhooks ¶
func (UnimplementedWebhooksAPIServer) Webhooks(context.Context, *SignedHash) (*emptypb.Empty, error)
type UnsafeAddonsAPIServer ¶
type UnsafeAddonsAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAddonsAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AddonsAPIServer will result in compilation errors.
type UnsafeGossipAPIServer ¶
type UnsafeGossipAPIServer interface {
// contains filtered or unexported methods
}
UnsafeGossipAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GossipAPIServer will result in compilation errors.
type UnsafeNotaryAPIServer ¶
type UnsafeNotaryAPIServer interface {
// contains filtered or unexported methods
}
UnsafeNotaryAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotaryAPIServer will result in compilation errors.
type UnsafeWalletClientAPIServer ¶
type UnsafeWalletClientAPIServer interface {
// contains filtered or unexported methods
}
UnsafeWalletClientAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletClientAPIServer will result in compilation errors.
type UnsafeWebhooksAPIServer ¶
type UnsafeWebhooksAPIServer interface {
// contains filtered or unexported methods
}
UnsafeWebhooksAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebhooksAPIServer will result in compilation errors.
type Vertex ¶
type Vertex struct { SignerPublicAddress string `protobuf:"bytes,1,opt,name=signer_public_address,json=signerPublicAddress,proto3" json:"signer_public_address,omitempty"` CreatedAt uint64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` Transaction *Transaction `protobuf:"bytes,4,opt,name=transaction,proto3" json:"transaction,omitempty"` Hash []byte `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` LeftParentHash []byte `protobuf:"bytes,6,opt,name=left_parent_hash,json=leftParentHash,proto3" json:"left_parent_hash,omitempty"` RightParentHash []byte `protobuf:"bytes,7,opt,name=right_parent_hash,json=rightParentHash,proto3" json:"right_parent_hash,omitempty"` Weight uint64 `protobuf:"varint,8,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*Vertex) Descriptor
deprecated
func (*Vertex) GetCreatedAt ¶
func (*Vertex) GetLeftParentHash ¶
func (*Vertex) GetRightParentHash ¶
func (*Vertex) GetSignature ¶
func (*Vertex) GetSignerPublicAddress ¶
func (*Vertex) GetTransaction ¶
func (x *Vertex) GetTransaction() *Transaction
func (*Vertex) ProtoMessage ¶
func (*Vertex) ProtoMessage()
func (*Vertex) ProtoReflect ¶
func (x *Vertex) ProtoReflect() protoreflect.Message
type VrxMsgGossip ¶
type VrxMsgGossip struct { Vertex *Vertex `protobuf:"bytes,1,opt,name=vertex,proto3" json:"vertex,omitempty"` Gossipers []*Gossiper `protobuf:"bytes,2,rep,name=gossipers,proto3" json:"gossipers,omitempty"` // contains filtered or unexported fields }
func (*VrxMsgGossip) Descriptor
deprecated
func (*VrxMsgGossip) Descriptor() ([]byte, []int)
Deprecated: Use VrxMsgGossip.ProtoReflect.Descriptor instead.
func (*VrxMsgGossip) GetGossipers ¶
func (x *VrxMsgGossip) GetGossipers() []*Gossiper
func (*VrxMsgGossip) GetVertex ¶
func (x *VrxMsgGossip) GetVertex() *Vertex
func (*VrxMsgGossip) ProtoMessage ¶
func (*VrxMsgGossip) ProtoMessage()
func (*VrxMsgGossip) ProtoReflect ¶
func (x *VrxMsgGossip) ProtoReflect() protoreflect.Message
func (*VrxMsgGossip) Reset ¶
func (x *VrxMsgGossip) Reset()
func (*VrxMsgGossip) String ¶
func (x *VrxMsgGossip) String() string
type WalletClientAPIClient ¶
type WalletClientAPIClient interface { Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) WalletPublicAddress(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Address, error) Issue(ctx context.Context, in *IssueTrx, opts ...grpc.CallOption) (*emptypb.Empty, error) Approve(ctx context.Context, in *TransactionApproved, opts ...grpc.CallOption) (*emptypb.Empty, error) Reject(ctx context.Context, in *TrxHash, opts ...grpc.CallOption) (*emptypb.Empty, error) Waiting(ctx context.Context, in *NotaryNode, opts ...grpc.CallOption) (*Transactions, error) Saved(ctx context.Context, in *TrxHash, opts ...grpc.CallOption) (*Transaction, error) WebHook(ctx context.Context, in *CreateWebHook, opts ...grpc.CallOption) (*emptypb.Empty, error) Balance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Spice, error) }
WalletClientAPIClient is the client API for WalletClientAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWalletClientAPIClient ¶
func NewWalletClientAPIClient(cc grpc.ClientConnInterface) WalletClientAPIClient
type WalletClientAPIServer ¶
type WalletClientAPIServer interface { Alive(context.Context, *emptypb.Empty) (*emptypb.Empty, error) WalletPublicAddress(context.Context, *emptypb.Empty) (*Address, error) Issue(context.Context, *IssueTrx) (*emptypb.Empty, error) Approve(context.Context, *TransactionApproved) (*emptypb.Empty, error) Reject(context.Context, *TrxHash) (*emptypb.Empty, error) Waiting(context.Context, *NotaryNode) (*Transactions, error) Saved(context.Context, *TrxHash) (*Transaction, error) WebHook(context.Context, *CreateWebHook) (*emptypb.Empty, error) Balance(context.Context, *emptypb.Empty) (*Spice, error) // contains filtered or unexported methods }
WalletClientAPIServer is the server API for WalletClientAPI service. All implementations must embed UnimplementedWalletClientAPIServer for forward compatibility
type WebhooksAPIClient ¶
type WebhooksAPIClient interface { Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AliveData, error) Webhooks(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*emptypb.Empty, error) }
WebhooksAPIClient is the client API for WebhooksAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWebhooksAPIClient ¶
func NewWebhooksAPIClient(cc grpc.ClientConnInterface) WebhooksAPIClient
type WebhooksAPIServer ¶
type WebhooksAPIServer interface { Alive(context.Context, *emptypb.Empty) (*AliveData, error) Webhooks(context.Context, *SignedHash) (*emptypb.Empty, error) // contains filtered or unexported methods }
WebhooksAPIServer is the server API for WebhooksAPI service. All implementations must embed UnimplementedWebhooksAPIServer for forward compatibility