ledgerv1

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package ledgerv1 is a generated GoMock package.

Index

Constants

View Source
const (
	LedgerService_SearchLedgers_FullMethodName            = "/ledger.v1.LedgerService/SearchLedgers"
	LedgerService_CreateLedger_FullMethodName             = "/ledger.v1.LedgerService/CreateLedger"
	LedgerService_UpdateLedger_FullMethodName             = "/ledger.v1.LedgerService/UpdateLedger"
	LedgerService_SearchAccounts_FullMethodName           = "/ledger.v1.LedgerService/SearchAccounts"
	LedgerService_CreateAccount_FullMethodName            = "/ledger.v1.LedgerService/CreateAccount"
	LedgerService_UpdateAccount_FullMethodName            = "/ledger.v1.LedgerService/UpdateAccount"
	LedgerService_SearchTransactions_FullMethodName       = "/ledger.v1.LedgerService/SearchTransactions"
	LedgerService_CreateTransaction_FullMethodName        = "/ledger.v1.LedgerService/CreateTransaction"
	LedgerService_ReverseTransaction_FullMethodName       = "/ledger.v1.LedgerService/ReverseTransaction"
	LedgerService_UpdateTransaction_FullMethodName        = "/ledger.v1.LedgerService/UpdateTransaction"
	LedgerService_SearchTransactionEntries_FullMethodName = "/ledger.v1.LedgerService/SearchTransactionEntries"
)

Variables

View Source
var (
	LedgerType_name = map[int32]string{
		0: "ASSET",
		1: "LIABILITY",
		2: "INCOME",
		3: "EXPENSE",
		4: "CAPITAL",
	}
	LedgerType_value = map[string]int32{
		"ASSET":     0,
		"LIABILITY": 1,
		"INCOME":    2,
		"EXPENSE":   3,
		"CAPITAL":   4,
	}
)

Enum value maps for LedgerType.

View Source
var File_ledger_v1_ledger_proto protoreflect.FileDescriptor
View Source
var LedgerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ledger.v1.LedgerService",
	HandlerType: (*LedgerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateLedger",
			Handler:    _LedgerService_CreateLedger_Handler,
		},
		{
			MethodName: "UpdateLedger",
			Handler:    _LedgerService_UpdateLedger_Handler,
		},
		{
			MethodName: "CreateAccount",
			Handler:    _LedgerService_CreateAccount_Handler,
		},
		{
			MethodName: "UpdateAccount",
			Handler:    _LedgerService_UpdateAccount_Handler,
		},
		{
			MethodName: "CreateTransaction",
			Handler:    _LedgerService_CreateTransaction_Handler,
		},
		{
			MethodName: "ReverseTransaction",
			Handler:    _LedgerService_ReverseTransaction_Handler,
		},
		{
			MethodName: "UpdateTransaction",
			Handler:    _LedgerService_UpdateTransaction_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SearchLedgers",
			Handler:       _LedgerService_SearchLedgers_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SearchAccounts",
			Handler:       _LedgerService_SearchAccounts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SearchTransactions",
			Handler:       _LedgerService_SearchTransactions_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SearchTransactionEntries",
			Handler:       _LedgerService_SearchTransactionEntries_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "ledger/v1/ledger.proto",
}

LedgerService_ServiceDesc is the grpc.ServiceDesc for LedgerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterLedgerServiceServer

func RegisterLedgerServiceServer(s grpc.ServiceRegistrar, srv LedgerServiceServer)

func ToContext

func ToContext(ctx context.Context, client *LedgerClient) context.Context

Types

type Account

type Account struct {
	Reference string            `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	Ledger    string            `protobuf:"bytes,3,opt,name=ledger,proto3" json:"ledger,omitempty"`
	Balance   *money.Money      `protobuf:"bytes,4,opt,name=balance,proto3" json:"balance,omitempty"`
	Data      map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetBalance

func (x *Account) GetBalance() *money.Money

func (*Account) GetData

func (x *Account) GetData() map[string]string

func (*Account) GetLedger

func (x *Account) GetLedger() string

func (*Account) GetReference

func (x *Account) GetReference() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type Ledger

type Ledger struct {
	Reference string            `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	Type      LedgerType        `protobuf:"varint,2,opt,name=type,proto3,enum=ledger.v1.LedgerType" json:"type,omitempty"`
	Parent    string            `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	Data      map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Ledger) Descriptor deprecated

func (*Ledger) Descriptor() ([]byte, []int)

Deprecated: Use Ledger.ProtoReflect.Descriptor instead.

func (*Ledger) GetData

func (x *Ledger) GetData() map[string]string

func (*Ledger) GetParent

func (x *Ledger) GetParent() string

func (*Ledger) GetReference

func (x *Ledger) GetReference() string

func (*Ledger) GetType

func (x *Ledger) GetType() LedgerType

func (*Ledger) ProtoMessage

func (*Ledger) ProtoMessage()

func (*Ledger) ProtoReflect

func (x *Ledger) ProtoReflect() protoreflect.Message

func (*Ledger) Reset

func (x *Ledger) Reset()

func (*Ledger) String

func (x *Ledger) String() string

type LedgerClient

type LedgerClient struct {
	*common.GrpcClientBase

	// The gRPC API Client.
	Client LedgerServiceClient
}

LedgerClient is a Client for interacting with the notification service API.

Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

func FromContext

func FromContext(ctx context.Context) *LedgerClient

func Init added in v1.9.1

func NewLedgerClient

func NewLedgerClient(ctx context.Context, opts ...common.ClientOption) (*LedgerClient, error)

NewLedgerClient creates a new notification Client.

The service that an application uses to send and access received messages

type LedgerServiceClient

type LedgerServiceClient interface {
	// Searches for an ledger based on details
	SearchLedgers(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (LedgerService_SearchLedgersClient, error)
	// Creates a new ledger based on supplied data
	CreateLedger(ctx context.Context, in *Ledger, opts ...grpc.CallOption) (*Ledger, error)
	// Updates the data component of the ledger.
	UpdateLedger(ctx context.Context, in *Ledger, opts ...grpc.CallOption) (*Ledger, error)
	// Searches for an account based on details
	SearchAccounts(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (LedgerService_SearchAccountsClient, error)
	// Creates a new account based on supplied data
	CreateAccount(ctx context.Context, in *Account, opts ...grpc.CallOption) (*Account, error)
	// Updates the data component of the account.
	UpdateAccount(ctx context.Context, in *Account, opts ...grpc.CallOption) (*Account, error)
	// Searches for a transaction based on details
	SearchTransactions(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (LedgerService_SearchTransactionsClient, error)
	// Creates a new transaction
	CreateTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Transaction, error)
	// Reverses a transaction by creating a new one with inverted entries
	ReverseTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Transaction, error)
	// Updates a transaction's details
	UpdateTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Transaction, error)
	// Searches for entries matching the search details
	SearchTransactionEntries(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (LedgerService_SearchTransactionEntriesClient, error)
}

LedgerServiceClient is the client API for LedgerService 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.

type LedgerServiceServer

type LedgerServiceServer interface {
	// Searches for an ledger based on details
	SearchLedgers(*SearchRequest, LedgerService_SearchLedgersServer) error
	// Creates a new ledger based on supplied data
	CreateLedger(context.Context, *Ledger) (*Ledger, error)
	// Updates the data component of the ledger.
	UpdateLedger(context.Context, *Ledger) (*Ledger, error)
	// Searches for an account based on details
	SearchAccounts(*SearchRequest, LedgerService_SearchAccountsServer) error
	// Creates a new account based on supplied data
	CreateAccount(context.Context, *Account) (*Account, error)
	// Updates the data component of the account.
	UpdateAccount(context.Context, *Account) (*Account, error)
	// Searches for a transaction based on details
	SearchTransactions(*SearchRequest, LedgerService_SearchTransactionsServer) error
	// Creates a new transaction
	CreateTransaction(context.Context, *Transaction) (*Transaction, error)
	// Reverses a transaction by creating a new one with inverted entries
	ReverseTransaction(context.Context, *Transaction) (*Transaction, error)
	// Updates a transaction's details
	UpdateTransaction(context.Context, *Transaction) (*Transaction, error)
	// Searches for entries matching the search details
	SearchTransactionEntries(*SearchRequest, LedgerService_SearchTransactionEntriesServer) error
	// contains filtered or unexported methods
}

LedgerServiceServer is the server API for LedgerService service. All implementations must embed UnimplementedLedgerServiceServer for forward compatibility

type LedgerService_SearchAccountsClient

type LedgerService_SearchAccountsClient interface {
	Recv() (*Account, error)
	grpc.ClientStream
}

type LedgerService_SearchAccountsServer

type LedgerService_SearchAccountsServer interface {
	Send(*Account) error
	grpc.ServerStream
}

type LedgerService_SearchLedgersClient

type LedgerService_SearchLedgersClient interface {
	Recv() (*Ledger, error)
	grpc.ClientStream
}

type LedgerService_SearchLedgersServer

type LedgerService_SearchLedgersServer interface {
	Send(*Ledger) error
	grpc.ServerStream
}

type LedgerService_SearchTransactionEntriesClient

type LedgerService_SearchTransactionEntriesClient interface {
	Recv() (*TransactionEntry, error)
	grpc.ClientStream
}

type LedgerService_SearchTransactionEntriesServer

type LedgerService_SearchTransactionEntriesServer interface {
	Send(*TransactionEntry) error
	grpc.ServerStream
}

type LedgerService_SearchTransactionsClient

type LedgerService_SearchTransactionsClient interface {
	Recv() (*Transaction, error)
	grpc.ClientStream
}

type LedgerService_SearchTransactionsServer

type LedgerService_SearchTransactionsServer interface {
	Send(*Transaction) error
	grpc.ServerStream
}

type LedgerType

type LedgerType int32

buf:lint:ignore ENUM_VALUE_PREFIX

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	LedgerType_ASSET     LedgerType = 0
	LedgerType_LIABILITY LedgerType = 1
	LedgerType_INCOME    LedgerType = 2
	LedgerType_EXPENSE   LedgerType = 3
	LedgerType_CAPITAL   LedgerType = 4
)

func (LedgerType) Descriptor

func (LedgerType) Descriptor() protoreflect.EnumDescriptor

func (LedgerType) Enum

func (x LedgerType) Enum() *LedgerType

func (LedgerType) EnumDescriptor deprecated

func (LedgerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LedgerType.Descriptor instead.

func (LedgerType) Number

func (x LedgerType) Number() protoreflect.EnumNumber

func (LedgerType) String

func (x LedgerType) String() string

func (LedgerType) Type

type MockLedgerServiceClient

type MockLedgerServiceClient struct {
	// contains filtered or unexported fields
}

MockLedgerServiceClient is a mock of LedgerServiceClient interface.

func NewMockLedgerServiceClient

func NewMockLedgerServiceClient(ctrl *gomock.Controller) *MockLedgerServiceClient

NewMockLedgerServiceClient creates a new mock instance.

func (*MockLedgerServiceClient) CreateAccount

func (m *MockLedgerServiceClient) CreateAccount(ctx context.Context, in *Account, opts ...grpc.CallOption) (*Account, error)

CreateAccount mocks base method.

func (*MockLedgerServiceClient) CreateLedger

func (m *MockLedgerServiceClient) CreateLedger(ctx context.Context, in *Ledger, opts ...grpc.CallOption) (*Ledger, error)

CreateLedger mocks base method.

func (*MockLedgerServiceClient) CreateTransaction

func (m *MockLedgerServiceClient) CreateTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Transaction, error)

CreateTransaction mocks base method.

func (*MockLedgerServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerServiceClient) ReverseTransaction

func (m *MockLedgerServiceClient) ReverseTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Transaction, error)

ReverseTransaction mocks base method.

func (*MockLedgerServiceClient) SearchAccounts

SearchAccounts mocks base method.

func (*MockLedgerServiceClient) SearchLedgers

SearchLedgers mocks base method.

func (*MockLedgerServiceClient) SearchTransactionEntries

SearchTransactionEntries mocks base method.

func (*MockLedgerServiceClient) SearchTransactions

SearchTransactions mocks base method.

func (*MockLedgerServiceClient) UpdateAccount

func (m *MockLedgerServiceClient) UpdateAccount(ctx context.Context, in *Account, opts ...grpc.CallOption) (*Account, error)

UpdateAccount mocks base method.

func (*MockLedgerServiceClient) UpdateLedger

func (m *MockLedgerServiceClient) UpdateLedger(ctx context.Context, in *Ledger, opts ...grpc.CallOption) (*Ledger, error)

UpdateLedger mocks base method.

func (*MockLedgerServiceClient) UpdateTransaction

func (m *MockLedgerServiceClient) UpdateTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*Transaction, error)

UpdateTransaction mocks base method.

type MockLedgerServiceClientMockRecorder

type MockLedgerServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerServiceClientMockRecorder is the mock recorder for MockLedgerServiceClient.

func (*MockLedgerServiceClientMockRecorder) CreateAccount

func (mr *MockLedgerServiceClientMockRecorder) CreateAccount(ctx, in any, opts ...any) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockLedgerServiceClientMockRecorder) CreateLedger

func (mr *MockLedgerServiceClientMockRecorder) CreateLedger(ctx, in any, opts ...any) *gomock.Call

CreateLedger indicates an expected call of CreateLedger.

func (*MockLedgerServiceClientMockRecorder) CreateTransaction

func (mr *MockLedgerServiceClientMockRecorder) CreateTransaction(ctx, in any, opts ...any) *gomock.Call

CreateTransaction indicates an expected call of CreateTransaction.

func (*MockLedgerServiceClientMockRecorder) ReverseTransaction

func (mr *MockLedgerServiceClientMockRecorder) ReverseTransaction(ctx, in any, opts ...any) *gomock.Call

ReverseTransaction indicates an expected call of ReverseTransaction.

func (*MockLedgerServiceClientMockRecorder) SearchAccounts

func (mr *MockLedgerServiceClientMockRecorder) SearchAccounts(ctx, in any, opts ...any) *gomock.Call

SearchAccounts indicates an expected call of SearchAccounts.

func (*MockLedgerServiceClientMockRecorder) SearchLedgers

func (mr *MockLedgerServiceClientMockRecorder) SearchLedgers(ctx, in any, opts ...any) *gomock.Call

SearchLedgers indicates an expected call of SearchLedgers.

func (*MockLedgerServiceClientMockRecorder) SearchTransactionEntries

func (mr *MockLedgerServiceClientMockRecorder) SearchTransactionEntries(ctx, in any, opts ...any) *gomock.Call

SearchTransactionEntries indicates an expected call of SearchTransactionEntries.

func (*MockLedgerServiceClientMockRecorder) SearchTransactions

func (mr *MockLedgerServiceClientMockRecorder) SearchTransactions(ctx, in any, opts ...any) *gomock.Call

SearchTransactions indicates an expected call of SearchTransactions.

func (*MockLedgerServiceClientMockRecorder) UpdateAccount

func (mr *MockLedgerServiceClientMockRecorder) UpdateAccount(ctx, in any, opts ...any) *gomock.Call

UpdateAccount indicates an expected call of UpdateAccount.

func (*MockLedgerServiceClientMockRecorder) UpdateLedger

func (mr *MockLedgerServiceClientMockRecorder) UpdateLedger(ctx, in any, opts ...any) *gomock.Call

UpdateLedger indicates an expected call of UpdateLedger.

func (*MockLedgerServiceClientMockRecorder) UpdateTransaction

func (mr *MockLedgerServiceClientMockRecorder) UpdateTransaction(ctx, in any, opts ...any) *gomock.Call

UpdateTransaction indicates an expected call of UpdateTransaction.

type MockLedgerServiceServer

type MockLedgerServiceServer struct {
	// contains filtered or unexported fields
}

MockLedgerServiceServer is a mock of LedgerServiceServer interface.

func NewMockLedgerServiceServer

func NewMockLedgerServiceServer(ctrl *gomock.Controller) *MockLedgerServiceServer

NewMockLedgerServiceServer creates a new mock instance.

func (*MockLedgerServiceServer) CreateAccount

func (m *MockLedgerServiceServer) CreateAccount(arg0 context.Context, arg1 *Account) (*Account, error)

CreateAccount mocks base method.

func (*MockLedgerServiceServer) CreateLedger

func (m *MockLedgerServiceServer) CreateLedger(arg0 context.Context, arg1 *Ledger) (*Ledger, error)

CreateLedger mocks base method.

func (*MockLedgerServiceServer) CreateTransaction

func (m *MockLedgerServiceServer) CreateTransaction(arg0 context.Context, arg1 *Transaction) (*Transaction, error)

CreateTransaction mocks base method.

func (*MockLedgerServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerServiceServer) ReverseTransaction

func (m *MockLedgerServiceServer) ReverseTransaction(arg0 context.Context, arg1 *Transaction) (*Transaction, error)

ReverseTransaction mocks base method.

func (*MockLedgerServiceServer) SearchAccounts

SearchAccounts mocks base method.

func (*MockLedgerServiceServer) SearchLedgers

SearchLedgers mocks base method.

func (*MockLedgerServiceServer) SearchTransactionEntries

SearchTransactionEntries mocks base method.

func (*MockLedgerServiceServer) SearchTransactions

SearchTransactions mocks base method.

func (*MockLedgerServiceServer) UpdateAccount

func (m *MockLedgerServiceServer) UpdateAccount(arg0 context.Context, arg1 *Account) (*Account, error)

UpdateAccount mocks base method.

func (*MockLedgerServiceServer) UpdateLedger

func (m *MockLedgerServiceServer) UpdateLedger(arg0 context.Context, arg1 *Ledger) (*Ledger, error)

UpdateLedger mocks base method.

func (*MockLedgerServiceServer) UpdateTransaction

func (m *MockLedgerServiceServer) UpdateTransaction(arg0 context.Context, arg1 *Transaction) (*Transaction, error)

UpdateTransaction mocks base method.

type MockLedgerServiceServerMockRecorder

type MockLedgerServiceServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerServiceServerMockRecorder is the mock recorder for MockLedgerServiceServer.

func (*MockLedgerServiceServerMockRecorder) CreateAccount

func (mr *MockLedgerServiceServerMockRecorder) CreateAccount(arg0, arg1 any) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockLedgerServiceServerMockRecorder) CreateLedger

func (mr *MockLedgerServiceServerMockRecorder) CreateLedger(arg0, arg1 any) *gomock.Call

CreateLedger indicates an expected call of CreateLedger.

func (*MockLedgerServiceServerMockRecorder) CreateTransaction

func (mr *MockLedgerServiceServerMockRecorder) CreateTransaction(arg0, arg1 any) *gomock.Call

CreateTransaction indicates an expected call of CreateTransaction.

func (*MockLedgerServiceServerMockRecorder) ReverseTransaction

func (mr *MockLedgerServiceServerMockRecorder) ReverseTransaction(arg0, arg1 any) *gomock.Call

ReverseTransaction indicates an expected call of ReverseTransaction.

func (*MockLedgerServiceServerMockRecorder) SearchAccounts

func (mr *MockLedgerServiceServerMockRecorder) SearchAccounts(arg0, arg1 any) *gomock.Call

SearchAccounts indicates an expected call of SearchAccounts.

func (*MockLedgerServiceServerMockRecorder) SearchLedgers

func (mr *MockLedgerServiceServerMockRecorder) SearchLedgers(arg0, arg1 any) *gomock.Call

SearchLedgers indicates an expected call of SearchLedgers.

func (*MockLedgerServiceServerMockRecorder) SearchTransactionEntries

func (mr *MockLedgerServiceServerMockRecorder) SearchTransactionEntries(arg0, arg1 any) *gomock.Call

SearchTransactionEntries indicates an expected call of SearchTransactionEntries.

func (*MockLedgerServiceServerMockRecorder) SearchTransactions

func (mr *MockLedgerServiceServerMockRecorder) SearchTransactions(arg0, arg1 any) *gomock.Call

SearchTransactions indicates an expected call of SearchTransactions.

func (*MockLedgerServiceServerMockRecorder) UpdateAccount

func (mr *MockLedgerServiceServerMockRecorder) UpdateAccount(arg0, arg1 any) *gomock.Call

UpdateAccount indicates an expected call of UpdateAccount.

func (*MockLedgerServiceServerMockRecorder) UpdateLedger

func (mr *MockLedgerServiceServerMockRecorder) UpdateLedger(arg0, arg1 any) *gomock.Call

UpdateLedger indicates an expected call of UpdateLedger.

func (*MockLedgerServiceServerMockRecorder) UpdateTransaction

func (mr *MockLedgerServiceServerMockRecorder) UpdateTransaction(arg0, arg1 any) *gomock.Call

UpdateTransaction indicates an expected call of UpdateTransaction.

type MockLedgerService_SearchAccountsClient

type MockLedgerService_SearchAccountsClient struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchAccountsClient is a mock of LedgerService_SearchAccountsClient interface.

func NewMockLedgerService_SearchAccountsClient

func NewMockLedgerService_SearchAccountsClient(ctrl *gomock.Controller) *MockLedgerService_SearchAccountsClient

NewMockLedgerService_SearchAccountsClient creates a new mock instance.

func (*MockLedgerService_SearchAccountsClient) CloseSend

CloseSend mocks base method.

func (*MockLedgerService_SearchAccountsClient) Context

Context mocks base method.

func (*MockLedgerService_SearchAccountsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchAccountsClient) Header

Header mocks base method.

func (*MockLedgerService_SearchAccountsClient) Recv

Recv mocks base method.

func (*MockLedgerService_SearchAccountsClient) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchAccountsClient) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchAccountsClient) Trailer

Trailer mocks base method.

type MockLedgerService_SearchAccountsClientMockRecorder

type MockLedgerService_SearchAccountsClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchAccountsClientMockRecorder is the mock recorder for MockLedgerService_SearchAccountsClient.

func (*MockLedgerService_SearchAccountsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLedgerService_SearchAccountsClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchAccountsClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLedgerService_SearchAccountsClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLedgerService_SearchAccountsClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchAccountsClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchAccountsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLedgerService_SearchAccountsServer

type MockLedgerService_SearchAccountsServer struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchAccountsServer is a mock of LedgerService_SearchAccountsServer interface.

func NewMockLedgerService_SearchAccountsServer

func NewMockLedgerService_SearchAccountsServer(ctrl *gomock.Controller) *MockLedgerService_SearchAccountsServer

NewMockLedgerService_SearchAccountsServer creates a new mock instance.

func (*MockLedgerService_SearchAccountsServer) Context

Context mocks base method.

func (*MockLedgerService_SearchAccountsServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchAccountsServer) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchAccountsServer) Send

Send mocks base method.

func (*MockLedgerService_SearchAccountsServer) SendHeader

SendHeader mocks base method.

func (*MockLedgerService_SearchAccountsServer) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchAccountsServer) SetHeader

SetHeader mocks base method.

func (*MockLedgerService_SearchAccountsServer) SetTrailer

SetTrailer mocks base method.

type MockLedgerService_SearchAccountsServerMockRecorder

type MockLedgerService_SearchAccountsServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchAccountsServerMockRecorder is the mock recorder for MockLedgerService_SearchAccountsServer.

func (*MockLedgerService_SearchAccountsServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchAccountsServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchAccountsServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLedgerService_SearchAccountsServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLedgerService_SearchAccountsServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchAccountsServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLedgerService_SearchAccountsServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockLedgerService_SearchLedgersClient

type MockLedgerService_SearchLedgersClient struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchLedgersClient is a mock of LedgerService_SearchLedgersClient interface.

func NewMockLedgerService_SearchLedgersClient

func NewMockLedgerService_SearchLedgersClient(ctrl *gomock.Controller) *MockLedgerService_SearchLedgersClient

NewMockLedgerService_SearchLedgersClient creates a new mock instance.

func (*MockLedgerService_SearchLedgersClient) CloseSend

CloseSend mocks base method.

func (*MockLedgerService_SearchLedgersClient) Context

Context mocks base method.

func (*MockLedgerService_SearchLedgersClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchLedgersClient) Header

Header mocks base method.

func (*MockLedgerService_SearchLedgersClient) Recv

Recv mocks base method.

func (*MockLedgerService_SearchLedgersClient) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchLedgersClient) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchLedgersClient) Trailer

Trailer mocks base method.

type MockLedgerService_SearchLedgersClientMockRecorder

type MockLedgerService_SearchLedgersClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchLedgersClientMockRecorder is the mock recorder for MockLedgerService_SearchLedgersClient.

func (*MockLedgerService_SearchLedgersClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLedgerService_SearchLedgersClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchLedgersClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLedgerService_SearchLedgersClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLedgerService_SearchLedgersClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchLedgersClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchLedgersClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLedgerService_SearchLedgersServer

type MockLedgerService_SearchLedgersServer struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchLedgersServer is a mock of LedgerService_SearchLedgersServer interface.

func NewMockLedgerService_SearchLedgersServer

func NewMockLedgerService_SearchLedgersServer(ctrl *gomock.Controller) *MockLedgerService_SearchLedgersServer

NewMockLedgerService_SearchLedgersServer creates a new mock instance.

func (*MockLedgerService_SearchLedgersServer) Context

Context mocks base method.

func (*MockLedgerService_SearchLedgersServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchLedgersServer) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchLedgersServer) Send

Send mocks base method.

func (*MockLedgerService_SearchLedgersServer) SendHeader

SendHeader mocks base method.

func (*MockLedgerService_SearchLedgersServer) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchLedgersServer) SetHeader

SetHeader mocks base method.

func (*MockLedgerService_SearchLedgersServer) SetTrailer

SetTrailer mocks base method.

type MockLedgerService_SearchLedgersServerMockRecorder

type MockLedgerService_SearchLedgersServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchLedgersServerMockRecorder is the mock recorder for MockLedgerService_SearchLedgersServer.

func (*MockLedgerService_SearchLedgersServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchLedgersServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchLedgersServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLedgerService_SearchLedgersServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLedgerService_SearchLedgersServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchLedgersServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLedgerService_SearchLedgersServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockLedgerService_SearchTransactionEntriesClient

type MockLedgerService_SearchTransactionEntriesClient struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionEntriesClient is a mock of LedgerService_SearchTransactionEntriesClient interface.

func NewMockLedgerService_SearchTransactionEntriesClient

func NewMockLedgerService_SearchTransactionEntriesClient(ctrl *gomock.Controller) *MockLedgerService_SearchTransactionEntriesClient

NewMockLedgerService_SearchTransactionEntriesClient creates a new mock instance.

func (*MockLedgerService_SearchTransactionEntriesClient) CloseSend

CloseSend mocks base method.

func (*MockLedgerService_SearchTransactionEntriesClient) Context

Context mocks base method.

func (*MockLedgerService_SearchTransactionEntriesClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchTransactionEntriesClient) Header

Header mocks base method.

func (*MockLedgerService_SearchTransactionEntriesClient) Recv

Recv mocks base method.

func (*MockLedgerService_SearchTransactionEntriesClient) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchTransactionEntriesClient) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchTransactionEntriesClient) Trailer

Trailer mocks base method.

type MockLedgerService_SearchTransactionEntriesClientMockRecorder

type MockLedgerService_SearchTransactionEntriesClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionEntriesClientMockRecorder is the mock recorder for MockLedgerService_SearchTransactionEntriesClient.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchTransactionEntriesClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLedgerService_SearchTransactionEntriesServer

type MockLedgerService_SearchTransactionEntriesServer struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionEntriesServer is a mock of LedgerService_SearchTransactionEntriesServer interface.

func NewMockLedgerService_SearchTransactionEntriesServer

func NewMockLedgerService_SearchTransactionEntriesServer(ctrl *gomock.Controller) *MockLedgerService_SearchTransactionEntriesServer

NewMockLedgerService_SearchTransactionEntriesServer creates a new mock instance.

func (*MockLedgerService_SearchTransactionEntriesServer) Context

Context mocks base method.

func (*MockLedgerService_SearchTransactionEntriesServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchTransactionEntriesServer) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchTransactionEntriesServer) Send

Send mocks base method.

func (*MockLedgerService_SearchTransactionEntriesServer) SendHeader

SendHeader mocks base method.

func (*MockLedgerService_SearchTransactionEntriesServer) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchTransactionEntriesServer) SetHeader

SetHeader mocks base method.

func (*MockLedgerService_SearchTransactionEntriesServer) SetTrailer

SetTrailer mocks base method.

type MockLedgerService_SearchTransactionEntriesServerMockRecorder

type MockLedgerService_SearchTransactionEntriesServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionEntriesServerMockRecorder is the mock recorder for MockLedgerService_SearchTransactionEntriesServer.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLedgerService_SearchTransactionEntriesServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockLedgerService_SearchTransactionsClient

type MockLedgerService_SearchTransactionsClient struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionsClient is a mock of LedgerService_SearchTransactionsClient interface.

func NewMockLedgerService_SearchTransactionsClient

func NewMockLedgerService_SearchTransactionsClient(ctrl *gomock.Controller) *MockLedgerService_SearchTransactionsClient

NewMockLedgerService_SearchTransactionsClient creates a new mock instance.

func (*MockLedgerService_SearchTransactionsClient) CloseSend

CloseSend mocks base method.

func (*MockLedgerService_SearchTransactionsClient) Context

Context mocks base method.

func (*MockLedgerService_SearchTransactionsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchTransactionsClient) Header

Header mocks base method.

func (*MockLedgerService_SearchTransactionsClient) Recv

Recv mocks base method.

func (*MockLedgerService_SearchTransactionsClient) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchTransactionsClient) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchTransactionsClient) Trailer

Trailer mocks base method.

type MockLedgerService_SearchTransactionsClientMockRecorder

type MockLedgerService_SearchTransactionsClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionsClientMockRecorder is the mock recorder for MockLedgerService_SearchTransactionsClient.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchTransactionsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLedgerService_SearchTransactionsServer

type MockLedgerService_SearchTransactionsServer struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionsServer is a mock of LedgerService_SearchTransactionsServer interface.

func NewMockLedgerService_SearchTransactionsServer

func NewMockLedgerService_SearchTransactionsServer(ctrl *gomock.Controller) *MockLedgerService_SearchTransactionsServer

NewMockLedgerService_SearchTransactionsServer creates a new mock instance.

func (*MockLedgerService_SearchTransactionsServer) Context

Context mocks base method.

func (*MockLedgerService_SearchTransactionsServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLedgerService_SearchTransactionsServer) RecvMsg

RecvMsg mocks base method.

func (*MockLedgerService_SearchTransactionsServer) Send

Send mocks base method.

func (*MockLedgerService_SearchTransactionsServer) SendHeader

SendHeader mocks base method.

func (*MockLedgerService_SearchTransactionsServer) SendMsg

SendMsg mocks base method.

func (*MockLedgerService_SearchTransactionsServer) SetHeader

SetHeader mocks base method.

func (*MockLedgerService_SearchTransactionsServer) SetTrailer

SetTrailer mocks base method.

type MockLedgerService_SearchTransactionsServerMockRecorder

type MockLedgerService_SearchTransactionsServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLedgerService_SearchTransactionsServerMockRecorder is the mock recorder for MockLedgerService_SearchTransactionsServer.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLedgerService_SearchTransactionsServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeLedgerServiceServer

type MockUnsafeLedgerServiceServer struct {
	// contains filtered or unexported fields
}

MockUnsafeLedgerServiceServer is a mock of UnsafeLedgerServiceServer interface.

func NewMockUnsafeLedgerServiceServer

func NewMockUnsafeLedgerServiceServer(ctrl *gomock.Controller) *MockUnsafeLedgerServiceServer

NewMockUnsafeLedgerServiceServer creates a new mock instance.

func (*MockUnsafeLedgerServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockUnsafeLedgerServiceServerMockRecorder

type MockUnsafeLedgerServiceServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnsafeLedgerServiceServerMockRecorder is the mock recorder for MockUnsafeLedgerServiceServer.

type SearchRequest

type SearchRequest struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type Transaction

type Transaction struct {
	Reference    string              `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	Currency     string              `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	TransactedAt string              `protobuf:"bytes,3,opt,name=transacted_at,json=transactedAt,proto3" json:"transacted_at,omitempty"`
	Data         map[string]string   `` /* 149-byte string literal not displayed */
	Entries      []*TransactionEntry `protobuf:"bytes,5,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetCurrency

func (x *Transaction) GetCurrency() string

func (*Transaction) GetData

func (x *Transaction) GetData() map[string]string

func (*Transaction) GetEntries

func (x *Transaction) GetEntries() []*TransactionEntry

func (*Transaction) GetReference

func (x *Transaction) GetReference() string

func (*Transaction) GetTransactedAt

func (x *Transaction) GetTransactedAt() 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 TransactionEntry

type TransactionEntry struct {
	Account      string       `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Transaction  string       `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
	TransactedAt string       `protobuf:"bytes,3,opt,name=transacted_at,json=transactedAt,proto3" json:"transacted_at,omitempty"`
	Amount       *money.Money `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Credit       bool         `protobuf:"varint,5,opt,name=credit,proto3" json:"credit,omitempty"`
	AccBalance   *money.Money `protobuf:"bytes,6,opt,name=acc_balance,json=accBalance,proto3" json:"acc_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionEntry) Descriptor deprecated

func (*TransactionEntry) Descriptor() ([]byte, []int)

Deprecated: Use TransactionEntry.ProtoReflect.Descriptor instead.

func (*TransactionEntry) GetAccBalance

func (x *TransactionEntry) GetAccBalance() *money.Money

func (*TransactionEntry) GetAccount

func (x *TransactionEntry) GetAccount() string

func (*TransactionEntry) GetAmount

func (x *TransactionEntry) GetAmount() *money.Money

func (*TransactionEntry) GetCredit

func (x *TransactionEntry) GetCredit() bool

func (*TransactionEntry) GetTransactedAt

func (x *TransactionEntry) GetTransactedAt() string

func (*TransactionEntry) GetTransaction

func (x *TransactionEntry) GetTransaction() string

func (*TransactionEntry) ProtoMessage

func (*TransactionEntry) ProtoMessage()

func (*TransactionEntry) ProtoReflect

func (x *TransactionEntry) ProtoReflect() protoreflect.Message

func (*TransactionEntry) Reset

func (x *TransactionEntry) Reset()

func (*TransactionEntry) String

func (x *TransactionEntry) String() string

type UnimplementedLedgerServiceServer

type UnimplementedLedgerServiceServer struct {
}

UnimplementedLedgerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLedgerServiceServer) CreateAccount

func (UnimplementedLedgerServiceServer) CreateLedger

func (UnimplementedLedgerServiceServer) CreateTransaction

func (UnimplementedLedgerServiceServer) ReverseTransaction

func (UnimplementedLedgerServiceServer) SearchAccounts

func (UnimplementedLedgerServiceServer) SearchLedgers

func (UnimplementedLedgerServiceServer) SearchTransactionEntries

func (UnimplementedLedgerServiceServer) SearchTransactions

func (UnimplementedLedgerServiceServer) UpdateAccount

func (UnimplementedLedgerServiceServer) UpdateLedger

func (UnimplementedLedgerServiceServer) UpdateTransaction

type UnsafeLedgerServiceServer

type UnsafeLedgerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLedgerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LedgerServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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