Documentation
¶
Index ¶
- func RegisterTransactorServer(s *grpc.Server, srv TransactorServer)
- type CurrencyRequest
- func (*CurrencyRequest) Descriptor() ([]byte, []int)
- func (m *CurrencyRequest) GetCurrency() string
- func (m *CurrencyRequest) GetDecimals() int64
- func (m *CurrencyRequest) GetSignature() string
- func (*CurrencyRequest) ProtoMessage()
- func (m *CurrencyRequest) Reset()
- func (m *CurrencyRequest) String() string
- func (m *CurrencyRequest) XXX_DiscardUnknown()
- func (m *CurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrencyRequest) XXX_Merge(src proto.Message)
- func (m *CurrencyRequest) XXX_Size() int
- func (m *CurrencyRequest) XXX_Unmarshal(b []byte) error
- type DeleteCurrencyRequest
- func (*DeleteCurrencyRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCurrencyRequest) GetCurrency() string
- func (m *DeleteCurrencyRequest) GetSignature() string
- func (*DeleteCurrencyRequest) ProtoMessage()
- func (m *DeleteCurrencyRequest) Reset()
- func (m *DeleteCurrencyRequest) String() string
- func (m *DeleteCurrencyRequest) XXX_DiscardUnknown()
- func (m *DeleteCurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCurrencyRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCurrencyRequest) XXX_Size() int
- func (m *DeleteCurrencyRequest) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetIdentifier() string
- func (m *DeleteRequest) GetSignature() string
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteTagRequest
- func (*DeleteTagRequest) Descriptor() ([]byte, []int)
- func (m *DeleteTagRequest) GetAccount() string
- func (m *DeleteTagRequest) GetSignature() string
- func (m *DeleteTagRequest) GetTag() string
- func (*DeleteTagRequest) ProtoMessage()
- func (m *DeleteTagRequest) Reset()
- func (m *DeleteTagRequest) String() string
- func (m *DeleteTagRequest) XXX_DiscardUnknown()
- func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTagRequest) XXX_Merge(src proto.Message)
- func (m *DeleteTagRequest) XXX_Size() int
- func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error
- type LineItem
- func (*LineItem) Descriptor() ([]byte, []int)
- func (m *LineItem) GetAccountname() string
- func (m *LineItem) GetAmount() int64
- func (m *LineItem) GetCurrency() string
- func (m *LineItem) GetDescription() string
- func (*LineItem) ProtoMessage()
- func (m *LineItem) Reset()
- func (m *LineItem) String() string
- func (m *LineItem) XXX_DiscardUnknown()
- func (m *LineItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LineItem) XXX_Merge(src proto.Message)
- func (m *LineItem) XXX_Size() int
- func (m *LineItem) XXX_Unmarshal(b []byte) error
- type TBLine
- func (*TBLine) Descriptor() ([]byte, []int)
- func (m *TBLine) GetAccountname() string
- func (m *TBLine) GetAmount() int64
- func (m *TBLine) GetAmountStr() string
- func (m *TBLine) GetCurrency() string
- func (m *TBLine) GetDecimals() int64
- func (m *TBLine) GetTags() []string
- func (*TBLine) ProtoMessage()
- func (m *TBLine) Reset()
- func (m *TBLine) String() string
- func (m *TBLine) XXX_DiscardUnknown()
- func (m *TBLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TBLine) XXX_Merge(src proto.Message)
- func (m *TBLine) XXX_Size() int
- func (m *TBLine) XXX_Unmarshal(b []byte) error
- type TBRequest
- func (*TBRequest) Descriptor() ([]byte, []int)
- func (m *TBRequest) GetDate() string
- func (*TBRequest) ProtoMessage()
- func (m *TBRequest) Reset()
- func (m *TBRequest) String() string
- func (m *TBRequest) XXX_DiscardUnknown()
- func (m *TBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TBRequest) XXX_Merge(src proto.Message)
- func (m *TBRequest) XXX_Size() int
- func (m *TBRequest) XXX_Unmarshal(b []byte) error
- type TBResponse
- func (*TBResponse) Descriptor() ([]byte, []int)
- func (m *TBResponse) GetLines() []*TBLine
- func (*TBResponse) ProtoMessage()
- func (m *TBResponse) Reset()
- func (m *TBResponse) String() string
- func (m *TBResponse) XXX_DiscardUnknown()
- func (m *TBResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TBResponse) XXX_Merge(src proto.Message)
- func (m *TBResponse) XXX_Size() int
- func (m *TBResponse) XXX_Unmarshal(b []byte) error
- type TagRequest
- func (*TagRequest) Descriptor() ([]byte, []int)
- func (m *TagRequest) GetAccount() string
- func (m *TagRequest) GetSignature() string
- func (m *TagRequest) GetTag() string
- func (*TagRequest) ProtoMessage()
- func (m *TagRequest) Reset()
- func (m *TagRequest) String() string
- func (m *TagRequest) XXX_DiscardUnknown()
- func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagRequest) XXX_Merge(src proto.Message)
- func (m *TagRequest) XXX_Size() int
- func (m *TagRequest) XXX_Unmarshal(b []byte) error
- type TransactionRequest
- func (*TransactionRequest) Descriptor() ([]byte, []int)
- func (m *TransactionRequest) GetDate() string
- func (m *TransactionRequest) GetDescription() string
- func (m *TransactionRequest) GetLines() []*LineItem
- func (m *TransactionRequest) GetSignature() string
- func (*TransactionRequest) ProtoMessage()
- func (m *TransactionRequest) Reset()
- func (m *TransactionRequest) String() string
- func (m *TransactionRequest) XXX_DiscardUnknown()
- func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionRequest) XXX_Merge(src proto.Message)
- func (m *TransactionRequest) XXX_Size() int
- func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
- type TransactionResponse
- func (*TransactionResponse) Descriptor() ([]byte, []int)
- func (m *TransactionResponse) GetMessage() string
- func (*TransactionResponse) ProtoMessage()
- func (m *TransactionResponse) Reset()
- func (m *TransactionResponse) String() string
- func (m *TransactionResponse) XXX_DiscardUnknown()
- func (m *TransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionResponse) XXX_Merge(src proto.Message)
- func (m *TransactionResponse) XXX_Size() int
- func (m *TransactionResponse) XXX_Unmarshal(b []byte) error
- type TransactorClient
- type TransactorServer
- type UnimplementedTransactorServer
- func (*UnimplementedTransactorServer) AddCurrency(ctx context.Context, req *CurrencyRequest) (*TransactionResponse, error)
- func (*UnimplementedTransactorServer) AddTag(ctx context.Context, req *TagRequest) (*TransactionResponse, error)
- func (*UnimplementedTransactorServer) AddTransaction(ctx context.Context, req *TransactionRequest) (*TransactionResponse, error)
- func (*UnimplementedTransactorServer) DeleteCurrency(ctx context.Context, req *DeleteCurrencyRequest) (*TransactionResponse, error)
- func (*UnimplementedTransactorServer) DeleteTag(ctx context.Context, req *DeleteTagRequest) (*TransactionResponse, error)
- func (*UnimplementedTransactorServer) DeleteTransaction(ctx context.Context, req *DeleteRequest) (*TransactionResponse, error)
- func (*UnimplementedTransactorServer) GetTB(ctx context.Context, req *TBRequest) (*TBResponse, error)
- func (*UnimplementedTransactorServer) NodeVersion(ctx context.Context, req *VersionRequest) (*VersionResponse, error)
- func (*UnimplementedTransactorServer) VoidTransaction(ctx context.Context, req *DeleteRequest) (*TransactionResponse, error)
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)
- func (m *VersionRequest) GetMessage() string
- func (*VersionRequest) ProtoMessage()
- func (m *VersionRequest) Reset()
- func (m *VersionRequest) String() string
- func (m *VersionRequest) XXX_DiscardUnknown()
- func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionRequest) XXX_Merge(src proto.Message)
- func (m *VersionRequest) XXX_Size() int
- func (m *VersionRequest) XXX_Unmarshal(b []byte) error
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)
- func (m *VersionResponse) GetMessage() string
- func (*VersionResponse) ProtoMessage()
- func (m *VersionResponse) Reset()
- func (m *VersionResponse) String() string
- func (m *VersionResponse) XXX_DiscardUnknown()
- func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionResponse) XXX_Merge(src proto.Message)
- func (m *VersionResponse) XXX_Size() int
- func (m *VersionResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTransactorServer ¶
func RegisterTransactorServer(s *grpc.Server, srv TransactorServer)
Types ¶
type CurrencyRequest ¶ added in v0.3.0
type CurrencyRequest struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Decimals int64 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CurrencyRequest) Descriptor ¶ added in v0.3.0
func (*CurrencyRequest) Descriptor() ([]byte, []int)
func (*CurrencyRequest) GetCurrency ¶ added in v0.3.0
func (m *CurrencyRequest) GetCurrency() string
func (*CurrencyRequest) GetDecimals ¶ added in v0.3.0
func (m *CurrencyRequest) GetDecimals() int64
func (*CurrencyRequest) GetSignature ¶ added in v0.3.0
func (m *CurrencyRequest) GetSignature() string
func (*CurrencyRequest) ProtoMessage ¶ added in v0.3.0
func (*CurrencyRequest) ProtoMessage()
func (*CurrencyRequest) Reset ¶ added in v0.3.0
func (m *CurrencyRequest) Reset()
func (*CurrencyRequest) String ¶ added in v0.3.0
func (m *CurrencyRequest) String() string
func (*CurrencyRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *CurrencyRequest) XXX_DiscardUnknown()
func (*CurrencyRequest) XXX_Marshal ¶ added in v0.3.0
func (m *CurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrencyRequest) XXX_Merge ¶ added in v0.3.0
func (m *CurrencyRequest) XXX_Merge(src proto.Message)
func (*CurrencyRequest) XXX_Size ¶ added in v0.3.0
func (m *CurrencyRequest) XXX_Size() int
func (*CurrencyRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *CurrencyRequest) XXX_Unmarshal(b []byte) error
type DeleteCurrencyRequest ¶ added in v0.3.0
type DeleteCurrencyRequest struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteCurrencyRequest) Descriptor ¶ added in v0.3.0
func (*DeleteCurrencyRequest) Descriptor() ([]byte, []int)
func (*DeleteCurrencyRequest) GetCurrency ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) GetCurrency() string
func (*DeleteCurrencyRequest) GetSignature ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) GetSignature() string
func (*DeleteCurrencyRequest) ProtoMessage ¶ added in v0.3.0
func (*DeleteCurrencyRequest) ProtoMessage()
func (*DeleteCurrencyRequest) Reset ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) Reset()
func (*DeleteCurrencyRequest) String ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) String() string
func (*DeleteCurrencyRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) XXX_DiscardUnknown()
func (*DeleteCurrencyRequest) XXX_Marshal ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCurrencyRequest) XXX_Merge ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) XXX_Merge(src proto.Message)
func (*DeleteCurrencyRequest) XXX_Size ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) XXX_Size() int
func (*DeleteCurrencyRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *DeleteCurrencyRequest) XXX_Unmarshal(b []byte) error
type DeleteRequest ¶
type DeleteRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetIdentifier ¶
func (m *DeleteRequest) GetIdentifier() string
func (*DeleteRequest) GetSignature ¶
func (m *DeleteRequest) GetSignature() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteTagRequest ¶
type DeleteTagRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteTagRequest) Descriptor ¶
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
func (*DeleteTagRequest) GetAccount ¶
func (m *DeleteTagRequest) GetAccount() string
func (*DeleteTagRequest) GetSignature ¶
func (m *DeleteTagRequest) GetSignature() string
func (*DeleteTagRequest) GetTag ¶
func (m *DeleteTagRequest) GetTag() string
func (*DeleteTagRequest) ProtoMessage ¶
func (*DeleteTagRequest) ProtoMessage()
func (*DeleteTagRequest) Reset ¶
func (m *DeleteTagRequest) Reset()
func (*DeleteTagRequest) String ¶
func (m *DeleteTagRequest) String() string
func (*DeleteTagRequest) XXX_DiscardUnknown ¶
func (m *DeleteTagRequest) XXX_DiscardUnknown()
func (*DeleteTagRequest) XXX_Marshal ¶
func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTagRequest) XXX_Merge ¶
func (m *DeleteTagRequest) XXX_Merge(src proto.Message)
func (*DeleteTagRequest) XXX_Size ¶
func (m *DeleteTagRequest) XXX_Size() int
func (*DeleteTagRequest) XXX_Unmarshal ¶
func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error
type LineItem ¶
type LineItem struct { Accountname string `protobuf:"bytes,1,opt,name=accountname,proto3" json:"accountname,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LineItem) Descriptor ¶
func (*LineItem) GetAccountname ¶
func (*LineItem) GetCurrency ¶ added in v0.3.0
func (*LineItem) GetDescription ¶
func (*LineItem) ProtoMessage ¶
func (*LineItem) ProtoMessage()
func (*LineItem) XXX_DiscardUnknown ¶
func (m *LineItem) XXX_DiscardUnknown()
func (*LineItem) XXX_Marshal ¶
func (*LineItem) XXX_Unmarshal ¶
type TBLine ¶
type TBLine struct { Accountname string `protobuf:"bytes,1,opt,name=accountname,proto3" json:"accountname,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` Decimals int64 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` AmountStr string `protobuf:"bytes,6,opt,name=amountStr,proto3" json:"amountStr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TBLine) Descriptor ¶
func (*TBLine) GetAccountname ¶
func (*TBLine) GetAmountStr ¶ added in v0.3.0
func (*TBLine) GetCurrency ¶ added in v0.3.0
func (*TBLine) GetDecimals ¶ added in v0.3.0
func (*TBLine) ProtoMessage ¶
func (*TBLine) ProtoMessage()
func (*TBLine) XXX_DiscardUnknown ¶
func (m *TBLine) XXX_DiscardUnknown()
func (*TBLine) XXX_Marshal ¶
func (*TBLine) XXX_Unmarshal ¶
type TBRequest ¶
type TBRequest struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TBRequest) Descriptor ¶
func (*TBRequest) ProtoMessage ¶
func (*TBRequest) ProtoMessage()
func (*TBRequest) XXX_DiscardUnknown ¶
func (m *TBRequest) XXX_DiscardUnknown()
func (*TBRequest) XXX_Marshal ¶
func (*TBRequest) XXX_Unmarshal ¶
type TBResponse ¶
type TBResponse struct { Lines []*TBLine `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TBResponse) Descriptor ¶
func (*TBResponse) Descriptor() ([]byte, []int)
func (*TBResponse) GetLines ¶
func (m *TBResponse) GetLines() []*TBLine
func (*TBResponse) ProtoMessage ¶
func (*TBResponse) ProtoMessage()
func (*TBResponse) Reset ¶
func (m *TBResponse) Reset()
func (*TBResponse) String ¶
func (m *TBResponse) String() string
func (*TBResponse) XXX_DiscardUnknown ¶
func (m *TBResponse) XXX_DiscardUnknown()
func (*TBResponse) XXX_Marshal ¶
func (m *TBResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TBResponse) XXX_Merge ¶
func (m *TBResponse) XXX_Merge(src proto.Message)
func (*TBResponse) XXX_Size ¶
func (m *TBResponse) XXX_Size() int
func (*TBResponse) XXX_Unmarshal ¶
func (m *TBResponse) XXX_Unmarshal(b []byte) error
type TagRequest ¶
type TagRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagRequest) Descriptor ¶
func (*TagRequest) Descriptor() ([]byte, []int)
func (*TagRequest) GetAccount ¶
func (m *TagRequest) GetAccount() string
func (*TagRequest) GetSignature ¶
func (m *TagRequest) GetSignature() string
func (*TagRequest) GetTag ¶
func (m *TagRequest) GetTag() string
func (*TagRequest) ProtoMessage ¶
func (*TagRequest) ProtoMessage()
func (*TagRequest) Reset ¶
func (m *TagRequest) Reset()
func (*TagRequest) String ¶
func (m *TagRequest) String() string
func (*TagRequest) XXX_DiscardUnknown ¶
func (m *TagRequest) XXX_DiscardUnknown()
func (*TagRequest) XXX_Marshal ¶
func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagRequest) XXX_Merge ¶
func (m *TagRequest) XXX_Merge(src proto.Message)
func (*TagRequest) XXX_Size ¶
func (m *TagRequest) XXX_Size() int
func (*TagRequest) XXX_Unmarshal ¶
func (m *TagRequest) XXX_Unmarshal(b []byte) error
type TransactionRequest ¶
type TransactionRequest struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Lines []*LineItem `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"` Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionRequest) Descriptor ¶
func (*TransactionRequest) Descriptor() ([]byte, []int)
func (*TransactionRequest) GetDate ¶
func (m *TransactionRequest) GetDate() string
func (*TransactionRequest) GetDescription ¶
func (m *TransactionRequest) GetDescription() string
func (*TransactionRequest) GetLines ¶
func (m *TransactionRequest) GetLines() []*LineItem
func (*TransactionRequest) GetSignature ¶
func (m *TransactionRequest) GetSignature() string
func (*TransactionRequest) ProtoMessage ¶
func (*TransactionRequest) ProtoMessage()
func (*TransactionRequest) Reset ¶
func (m *TransactionRequest) Reset()
func (*TransactionRequest) String ¶
func (m *TransactionRequest) String() string
func (*TransactionRequest) XXX_DiscardUnknown ¶
func (m *TransactionRequest) XXX_DiscardUnknown()
func (*TransactionRequest) XXX_Marshal ¶
func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionRequest) XXX_Merge ¶
func (m *TransactionRequest) XXX_Merge(src proto.Message)
func (*TransactionRequest) XXX_Size ¶
func (m *TransactionRequest) XXX_Size() int
func (*TransactionRequest) XXX_Unmarshal ¶
func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
type TransactionResponse ¶
type TransactionResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionResponse) Descriptor ¶
func (*TransactionResponse) Descriptor() ([]byte, []int)
func (*TransactionResponse) GetMessage ¶
func (m *TransactionResponse) GetMessage() string
func (*TransactionResponse) ProtoMessage ¶
func (*TransactionResponse) ProtoMessage()
func (*TransactionResponse) Reset ¶
func (m *TransactionResponse) Reset()
func (*TransactionResponse) String ¶
func (m *TransactionResponse) String() string
func (*TransactionResponse) XXX_DiscardUnknown ¶
func (m *TransactionResponse) XXX_DiscardUnknown()
func (*TransactionResponse) XXX_Marshal ¶
func (m *TransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionResponse) XXX_Merge ¶
func (m *TransactionResponse) XXX_Merge(src proto.Message)
func (*TransactionResponse) XXX_Size ¶
func (m *TransactionResponse) XXX_Size() int
func (*TransactionResponse) XXX_Unmarshal ¶
func (m *TransactionResponse) XXX_Unmarshal(b []byte) error
type TransactorClient ¶
type TransactorClient interface { NodeVersion(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) AddTransaction(ctx context.Context, in *TransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) DeleteTransaction(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*TransactionResponse, error) VoidTransaction(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*TransactionResponse, error) AddTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TransactionResponse, error) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*TransactionResponse, error) AddCurrency(ctx context.Context, in *CurrencyRequest, opts ...grpc.CallOption) (*TransactionResponse, error) DeleteCurrency(ctx context.Context, in *DeleteCurrencyRequest, opts ...grpc.CallOption) (*TransactionResponse, error) GetTB(ctx context.Context, in *TBRequest, opts ...grpc.CallOption) (*TBResponse, error) }
TransactorClient is the client API for Transactor service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactorClient ¶
func NewTransactorClient(cc grpc.ClientConnInterface) TransactorClient
type TransactorServer ¶
type TransactorServer interface { NodeVersion(context.Context, *VersionRequest) (*VersionResponse, error) AddTransaction(context.Context, *TransactionRequest) (*TransactionResponse, error) DeleteTransaction(context.Context, *DeleteRequest) (*TransactionResponse, error) VoidTransaction(context.Context, *DeleteRequest) (*TransactionResponse, error) AddTag(context.Context, *TagRequest) (*TransactionResponse, error) DeleteTag(context.Context, *DeleteTagRequest) (*TransactionResponse, error) AddCurrency(context.Context, *CurrencyRequest) (*TransactionResponse, error) DeleteCurrency(context.Context, *DeleteCurrencyRequest) (*TransactionResponse, error) GetTB(context.Context, *TBRequest) (*TBResponse, error) }
TransactorServer is the server API for Transactor service.
type UnimplementedTransactorServer ¶
type UnimplementedTransactorServer struct { }
UnimplementedTransactorServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransactorServer) AddCurrency ¶ added in v0.3.0
func (*UnimplementedTransactorServer) AddCurrency(ctx context.Context, req *CurrencyRequest) (*TransactionResponse, error)
func (*UnimplementedTransactorServer) AddTag ¶
func (*UnimplementedTransactorServer) AddTag(ctx context.Context, req *TagRequest) (*TransactionResponse, error)
func (*UnimplementedTransactorServer) AddTransaction ¶
func (*UnimplementedTransactorServer) AddTransaction(ctx context.Context, req *TransactionRequest) (*TransactionResponse, error)
func (*UnimplementedTransactorServer) DeleteCurrency ¶ added in v0.3.0
func (*UnimplementedTransactorServer) DeleteCurrency(ctx context.Context, req *DeleteCurrencyRequest) (*TransactionResponse, error)
func (*UnimplementedTransactorServer) DeleteTag ¶
func (*UnimplementedTransactorServer) DeleteTag(ctx context.Context, req *DeleteTagRequest) (*TransactionResponse, error)
func (*UnimplementedTransactorServer) DeleteTransaction ¶
func (*UnimplementedTransactorServer) DeleteTransaction(ctx context.Context, req *DeleteRequest) (*TransactionResponse, error)
func (*UnimplementedTransactorServer) GetTB ¶
func (*UnimplementedTransactorServer) GetTB(ctx context.Context, req *TBRequest) (*TBResponse, error)
func (*UnimplementedTransactorServer) NodeVersion ¶
func (*UnimplementedTransactorServer) NodeVersion(ctx context.Context, req *VersionRequest) (*VersionResponse, error)
func (*UnimplementedTransactorServer) VoidTransaction ¶ added in v0.3.0
func (*UnimplementedTransactorServer) VoidTransaction(ctx context.Context, req *DeleteRequest) (*TransactionResponse, error)
type VersionRequest ¶
type VersionRequest struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) GetMessage ¶
func (m *VersionRequest) GetMessage() string
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
func (*VersionRequest) XXX_DiscardUnknown ¶
func (m *VersionRequest) XXX_DiscardUnknown()
func (*VersionRequest) XXX_Marshal ¶
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionRequest) XXX_Merge ¶
func (m *VersionRequest) XXX_Merge(src proto.Message)
func (*VersionRequest) XXX_Size ¶
func (m *VersionRequest) XXX_Size() int
func (*VersionRequest) XXX_Unmarshal ¶
func (m *VersionRequest) XXX_Unmarshal(b []byte) error
type VersionResponse ¶
type VersionResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetMessage ¶
func (m *VersionResponse) GetMessage() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
func (*VersionResponse) XXX_DiscardUnknown ¶
func (m *VersionResponse) XXX_DiscardUnknown()
func (*VersionResponse) XXX_Marshal ¶
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionResponse) XXX_Merge ¶
func (m *VersionResponse) XXX_Merge(src proto.Message)
func (*VersionResponse) XXX_Size ¶
func (m *VersionResponse) XXX_Size() int
func (*VersionResponse) XXX_Unmarshal ¶
func (m *VersionResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.