proto

package
v0.0.0-...-ea970c3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Accounts_GetAccount_FullMethodName    = "/proto.Accounts/GetAccount"
	Accounts_GetAccounts_FullMethodName   = "/proto.Accounts/GetAccounts"
	Accounts_CreateAccount_FullMethodName = "/proto.Accounts/CreateAccount"
	Accounts_DeleteAccount_FullMethodName = "/proto.Accounts/DeleteAccount"
)
View Source
const (
	Categories_GetCategory_FullMethodName    = "/proto.Categories/GetCategory"
	Categories_GetCategories_FullMethodName  = "/proto.Categories/GetCategories"
	Categories_CreateCategory_FullMethodName = "/proto.Categories/CreateCategory"
	Categories_DeleteCategory_FullMethodName = "/proto.Categories/DeleteCategory"
)
View Source
const (
	SubCategories_GetSubCategory_FullMethodName    = "/proto.SubCategories/GetSubCategory"
	SubCategories_GetSubCategories_FullMethodName  = "/proto.SubCategories/GetSubCategories"
	SubCategories_CreateSubCategory_FullMethodName = "/proto.SubCategories/CreateSubCategory"
	SubCategories_DeleteSubCategory_FullMethodName = "/proto.SubCategories/DeleteSubCategory"
)
View Source
const (
	Transactions_GetTransaction_FullMethodName    = "/proto.Transactions/GetTransaction"
	Transactions_GetTransactions_FullMethodName   = "/proto.Transactions/GetTransactions"
	Transactions_CreateTransaction_FullMethodName = "/proto.Transactions/CreateTransaction"
	Transactions_DeleteTransaction_FullMethodName = "/proto.Transactions/DeleteTransaction"
)
View Source
const (
	GetSummary_GetSummary_FullMethodName = "/proto.GetSummary/GetSummary"
)

Variables

View Source
var (
	SUMMARY_REPORT_name = map[int32]string{
		0: "All",
	}
	SUMMARY_REPORT_value = map[string]int32{
		"All": 0,
	}
)

Enum value maps for SUMMARY_REPORT.

View Source
var Accounts_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Accounts",
	HandlerType: (*AccountsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccount",
			Handler:    _Accounts_GetAccount_Handler,
		},
		{
			MethodName: "GetAccounts",
			Handler:    _Accounts_GetAccounts_Handler,
		},
		{
			MethodName: "CreateAccount",
			Handler:    _Accounts_CreateAccount_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _Accounts_DeleteAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/account.proto",
}

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

View Source
var Categories_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Categories",
	HandlerType: (*CategoriesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCategory",
			Handler:    _Categories_GetCategory_Handler,
		},
		{
			MethodName: "GetCategories",
			Handler:    _Categories_GetCategories_Handler,
		},
		{
			MethodName: "CreateCategory",
			Handler:    _Categories_CreateCategory_Handler,
		},
		{
			MethodName: "DeleteCategory",
			Handler:    _Categories_DeleteCategory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/category.proto",
}

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

View Source
var File_pkg_proto_account_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_category_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_subcategory_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_summary_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_transactions_proto protoreflect.FileDescriptor
View Source
var GetSummary_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.GetSummary",
	HandlerType: (*GetSummaryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSummary",
			Handler:    _GetSummary_GetSummary_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/summary.proto",
}

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

View Source
var SubCategories_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.SubCategories",
	HandlerType: (*SubCategoriesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSubCategory",
			Handler:    _SubCategories_GetSubCategory_Handler,
		},
		{
			MethodName: "GetSubCategories",
			Handler:    _SubCategories_GetSubCategories_Handler,
		},
		{
			MethodName: "CreateSubCategory",
			Handler:    _SubCategories_CreateSubCategory_Handler,
		},
		{
			MethodName: "DeleteSubCategory",
			Handler:    _SubCategories_DeleteSubCategory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/subcategory.proto",
}

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

View Source
var Transactions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Transactions",
	HandlerType: (*TransactionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTransaction",
			Handler:    _Transactions_GetTransaction_Handler,
		},
		{
			MethodName: "GetTransactions",
			Handler:    _Transactions_GetTransactions_Handler,
		},
		{
			MethodName: "CreateTransaction",
			Handler:    _Transactions_CreateTransaction_Handler,
		},
		{
			MethodName: "DeleteTransaction",
			Handler:    _Transactions_DeleteTransaction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/transactions.proto",
}

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

Functions

func RegisterAccountsServer

func RegisterAccountsServer(s grpc.ServiceRegistrar, srv AccountsServer)

func RegisterCategoriesServer

func RegisterCategoriesServer(s grpc.ServiceRegistrar, srv CategoriesServer)

func RegisterGetSummaryServer

func RegisterGetSummaryServer(s grpc.ServiceRegistrar, srv GetSummaryServer)

func RegisterSubCategoriesServer

func RegisterSubCategoriesServer(s grpc.ServiceRegistrar, srv SubCategoriesServer)

func RegisterTransactionsServer

func RegisterTransactionsServer(s grpc.ServiceRegistrar, srv TransactionsServer)

Types

type Account

type Account struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetId

func (x *Account) GetId() int64

func (*Account) GetName

func (x *Account) GetName() 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 AccountsClient

type AccountsClient interface {
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error)
	GetAccounts(ctx context.Context, in *GetAccountsRequest, opts ...grpc.CallOption) (*GetAccountsResponse, error)
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error)
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountResponse, error)
}

AccountsClient is the client API for Accounts 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 NewAccountsClient

func NewAccountsClient(cc grpc.ClientConnInterface) AccountsClient

type AccountsServer

type AccountsServer interface {
	GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
	GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
	CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
	DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
	// contains filtered or unexported methods
}

AccountsServer is the server API for Accounts service. All implementations must embed UnimplementedAccountsServer for forward compatibility

type CategoriesClient

type CategoriesClient interface {
	GetCategory(ctx context.Context, in *GetCategoryRequest, opts ...grpc.CallOption) (*GetCategoryResponse, error)
	GetCategories(ctx context.Context, in *GetCategoriesRequest, opts ...grpc.CallOption) (*GetCategoriesResponse, error)
	CreateCategory(ctx context.Context, in *CreateCategoryRequest, opts ...grpc.CallOption) (*CreateCategoryResponse, error)
	DeleteCategory(ctx context.Context, in *DeleteCategoryRequest, opts ...grpc.CallOption) (*DeleteCategoryResponse, error)
}

CategoriesClient is the client API for Categories 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 NewCategoriesClient

func NewCategoriesClient(cc grpc.ClientConnInterface) CategoriesClient

type CategoriesServer

type CategoriesServer interface {
	GetCategory(context.Context, *GetCategoryRequest) (*GetCategoryResponse, error)
	GetCategories(context.Context, *GetCategoriesRequest) (*GetCategoriesResponse, error)
	CreateCategory(context.Context, *CreateCategoryRequest) (*CreateCategoryResponse, error)
	DeleteCategory(context.Context, *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
	// contains filtered or unexported methods
}

CategoriesServer is the server API for Categories service. All implementations must embed UnimplementedCategoriesServer for forward compatibility

type Category

type Category struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetId

func (x *Category) GetId() int64

func (*Category) GetName

func (x *Category) GetName() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type CreateAccountRequest

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

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetName

func (x *CreateAccountRequest) GetName() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountResponse

type CreateAccountResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetId

func (x *CreateAccountResponse) GetId() int64

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

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

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) String() string

type CreateCategoryRequest

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

func (*CreateCategoryRequest) Descriptor deprecated

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

Deprecated: Use CreateCategoryRequest.ProtoReflect.Descriptor instead.

func (*CreateCategoryRequest) GetName

func (x *CreateCategoryRequest) GetName() string

func (*CreateCategoryRequest) ProtoMessage

func (*CreateCategoryRequest) ProtoMessage()

func (*CreateCategoryRequest) ProtoReflect

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

func (*CreateCategoryRequest) Reset

func (x *CreateCategoryRequest) Reset()

func (*CreateCategoryRequest) String

func (x *CreateCategoryRequest) String() string

type CreateCategoryResponse

type CreateCategoryResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCategoryResponse) Descriptor deprecated

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

Deprecated: Use CreateCategoryResponse.ProtoReflect.Descriptor instead.

func (*CreateCategoryResponse) GetId

func (x *CreateCategoryResponse) GetId() int64

func (*CreateCategoryResponse) ProtoMessage

func (*CreateCategoryResponse) ProtoMessage()

func (*CreateCategoryResponse) ProtoReflect

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

func (*CreateCategoryResponse) Reset

func (x *CreateCategoryResponse) Reset()

func (*CreateCategoryResponse) String

func (x *CreateCategoryResponse) String() string

type CreateSubCategoryRequest

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

func (*CreateSubCategoryRequest) Descriptor deprecated

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

Deprecated: Use CreateSubCategoryRequest.ProtoReflect.Descriptor instead.

func (*CreateSubCategoryRequest) GetName

func (x *CreateSubCategoryRequest) GetName() string

func (*CreateSubCategoryRequest) ProtoMessage

func (*CreateSubCategoryRequest) ProtoMessage()

func (*CreateSubCategoryRequest) ProtoReflect

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

func (*CreateSubCategoryRequest) Reset

func (x *CreateSubCategoryRequest) Reset()

func (*CreateSubCategoryRequest) String

func (x *CreateSubCategoryRequest) String() string

type CreateSubCategoryResponse

type CreateSubCategoryResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSubCategoryResponse) Descriptor deprecated

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

Deprecated: Use CreateSubCategoryResponse.ProtoReflect.Descriptor instead.

func (*CreateSubCategoryResponse) GetId

func (x *CreateSubCategoryResponse) GetId() int64

func (*CreateSubCategoryResponse) ProtoMessage

func (*CreateSubCategoryResponse) ProtoMessage()

func (*CreateSubCategoryResponse) ProtoReflect

func (*CreateSubCategoryResponse) Reset

func (x *CreateSubCategoryResponse) Reset()

func (*CreateSubCategoryResponse) String

func (x *CreateSubCategoryResponse) String() string

type CreateTransactionRequest

type CreateTransactionRequest struct {
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionRequest) Descriptor deprecated

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

Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead.

func (*CreateTransactionRequest) GetTransaction

func (x *CreateTransactionRequest) GetTransaction() *Transaction

func (*CreateTransactionRequest) ProtoMessage

func (*CreateTransactionRequest) ProtoMessage()

func (*CreateTransactionRequest) ProtoReflect

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

func (*CreateTransactionRequest) Reset

func (x *CreateTransactionRequest) Reset()

func (*CreateTransactionRequest) String

func (x *CreateTransactionRequest) String() string

type CreateTransactionResponse

type CreateTransactionResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionResponse) Descriptor deprecated

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

Deprecated: Use CreateTransactionResponse.ProtoReflect.Descriptor instead.

func (*CreateTransactionResponse) GetId

func (x *CreateTransactionResponse) GetId() int64

func (*CreateTransactionResponse) ProtoMessage

func (*CreateTransactionResponse) ProtoMessage()

func (*CreateTransactionResponse) ProtoReflect

func (*CreateTransactionResponse) Reset

func (x *CreateTransactionResponse) Reset()

func (*CreateTransactionResponse) String

func (x *CreateTransactionResponse) String() string

type DeleteAccountRequest

type DeleteAccountRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetId

func (x *DeleteAccountRequest) GetId() int64

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse

type DeleteAccountResponse struct {
	Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAccountResponse) Descriptor deprecated

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

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) GetResponse

func (x *DeleteAccountResponse) GetResponse() bool

func (*DeleteAccountResponse) ProtoMessage

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect

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

func (*DeleteAccountResponse) Reset

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String

func (x *DeleteAccountResponse) String() string

type DeleteCategoryRequest

type DeleteCategoryRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCategoryRequest) Descriptor deprecated

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

Deprecated: Use DeleteCategoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteCategoryRequest) GetId

func (x *DeleteCategoryRequest) GetId() int64

func (*DeleteCategoryRequest) ProtoMessage

func (*DeleteCategoryRequest) ProtoMessage()

func (*DeleteCategoryRequest) ProtoReflect

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

func (*DeleteCategoryRequest) Reset

func (x *DeleteCategoryRequest) Reset()

func (*DeleteCategoryRequest) String

func (x *DeleteCategoryRequest) String() string

type DeleteCategoryResponse

type DeleteCategoryResponse struct {
	Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCategoryResponse) Descriptor deprecated

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

Deprecated: Use DeleteCategoryResponse.ProtoReflect.Descriptor instead.

func (*DeleteCategoryResponse) GetResponse

func (x *DeleteCategoryResponse) GetResponse() bool

func (*DeleteCategoryResponse) ProtoMessage

func (*DeleteCategoryResponse) ProtoMessage()

func (*DeleteCategoryResponse) ProtoReflect

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

func (*DeleteCategoryResponse) Reset

func (x *DeleteCategoryResponse) Reset()

func (*DeleteCategoryResponse) String

func (x *DeleteCategoryResponse) String() string

type DeleteSubCategoryRequest

type DeleteSubCategoryRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSubCategoryRequest) Descriptor deprecated

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

Deprecated: Use DeleteSubCategoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubCategoryRequest) GetId

func (x *DeleteSubCategoryRequest) GetId() int64

func (*DeleteSubCategoryRequest) ProtoMessage

func (*DeleteSubCategoryRequest) ProtoMessage()

func (*DeleteSubCategoryRequest) ProtoReflect

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

func (*DeleteSubCategoryRequest) Reset

func (x *DeleteSubCategoryRequest) Reset()

func (*DeleteSubCategoryRequest) String

func (x *DeleteSubCategoryRequest) String() string

type DeleteSubCategoryResponse

type DeleteSubCategoryResponse struct {
	Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSubCategoryResponse) Descriptor deprecated

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

Deprecated: Use DeleteSubCategoryResponse.ProtoReflect.Descriptor instead.

func (*DeleteSubCategoryResponse) GetResponse

func (x *DeleteSubCategoryResponse) GetResponse() bool

func (*DeleteSubCategoryResponse) ProtoMessage

func (*DeleteSubCategoryResponse) ProtoMessage()

func (*DeleteSubCategoryResponse) ProtoReflect

func (*DeleteSubCategoryResponse) Reset

func (x *DeleteSubCategoryResponse) Reset()

func (*DeleteSubCategoryResponse) String

func (x *DeleteSubCategoryResponse) String() string

type DeleteTransactionRequest

type DeleteTransactionRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTransactionRequest) Descriptor deprecated

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

Deprecated: Use DeleteTransactionRequest.ProtoReflect.Descriptor instead.

func (*DeleteTransactionRequest) GetId

func (x *DeleteTransactionRequest) GetId() int64

func (*DeleteTransactionRequest) ProtoMessage

func (*DeleteTransactionRequest) ProtoMessage()

func (*DeleteTransactionRequest) ProtoReflect

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

func (*DeleteTransactionRequest) Reset

func (x *DeleteTransactionRequest) Reset()

func (*DeleteTransactionRequest) String

func (x *DeleteTransactionRequest) String() string

type DeleteTransactionResponse

type DeleteTransactionResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTransactionResponse) Descriptor deprecated

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

Deprecated: Use DeleteTransactionResponse.ProtoReflect.Descriptor instead.

func (*DeleteTransactionResponse) GetId

func (x *DeleteTransactionResponse) GetId() int64

func (*DeleteTransactionResponse) ProtoMessage

func (*DeleteTransactionResponse) ProtoMessage()

func (*DeleteTransactionResponse) ProtoReflect

func (*DeleteTransactionResponse) Reset

func (x *DeleteTransactionResponse) Reset()

func (*DeleteTransactionResponse) String

func (x *DeleteTransactionResponse) String() string

type GetAccountRequest

type GetAccountRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountRequest) Descriptor deprecated

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetId

func (x *GetAccountRequest) GetId() int64

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect

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

func (*GetAccountRequest) Reset

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String

func (x *GetAccountRequest) String() string

type GetAccountResponse

type GetAccountResponse struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountResponse) Descriptor deprecated

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

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAccount

func (x *GetAccountResponse) GetAccount() *Account

func (*GetAccountResponse) ProtoMessage

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect

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

func (*GetAccountResponse) Reset

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String

func (x *GetAccountResponse) String() string

type GetAccountsRequest

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

func (*GetAccountsRequest) Descriptor deprecated

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

Deprecated: Use GetAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetAccountsRequest) ProtoMessage

func (*GetAccountsRequest) ProtoMessage()

func (*GetAccountsRequest) ProtoReflect

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

func (*GetAccountsRequest) Reset

func (x *GetAccountsRequest) Reset()

func (*GetAccountsRequest) String

func (x *GetAccountsRequest) String() string

type GetAccountsResponse

type GetAccountsResponse struct {
	Account []*Account `protobuf:"bytes,1,rep,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountsResponse) Descriptor deprecated

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

Deprecated: Use GetAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetAccountsResponse) GetAccount

func (x *GetAccountsResponse) GetAccount() []*Account

func (*GetAccountsResponse) ProtoMessage

func (*GetAccountsResponse) ProtoMessage()

func (*GetAccountsResponse) ProtoReflect

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

func (*GetAccountsResponse) Reset

func (x *GetAccountsResponse) Reset()

func (*GetAccountsResponse) String

func (x *GetAccountsResponse) String() string

type GetCategoriesRequest

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

func (*GetCategoriesRequest) Descriptor deprecated

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

Deprecated: Use GetCategoriesRequest.ProtoReflect.Descriptor instead.

func (*GetCategoriesRequest) ProtoMessage

func (*GetCategoriesRequest) ProtoMessage()

func (*GetCategoriesRequest) ProtoReflect

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

func (*GetCategoriesRequest) Reset

func (x *GetCategoriesRequest) Reset()

func (*GetCategoriesRequest) String

func (x *GetCategoriesRequest) String() string

type GetCategoriesResponse

type GetCategoriesResponse struct {
	Category []*Category `protobuf:"bytes,1,rep,name=Category,proto3" json:"Category,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCategoriesResponse) Descriptor deprecated

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

Deprecated: Use GetCategoriesResponse.ProtoReflect.Descriptor instead.

func (*GetCategoriesResponse) GetCategory

func (x *GetCategoriesResponse) GetCategory() []*Category

func (*GetCategoriesResponse) ProtoMessage

func (*GetCategoriesResponse) ProtoMessage()

func (*GetCategoriesResponse) ProtoReflect

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

func (*GetCategoriesResponse) Reset

func (x *GetCategoriesResponse) Reset()

func (*GetCategoriesResponse) String

func (x *GetCategoriesResponse) String() string

type GetCategoryRequest

type GetCategoryRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCategoryRequest) Descriptor deprecated

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

Deprecated: Use GetCategoryRequest.ProtoReflect.Descriptor instead.

func (*GetCategoryRequest) GetId

func (x *GetCategoryRequest) GetId() int64

func (*GetCategoryRequest) ProtoMessage

func (*GetCategoryRequest) ProtoMessage()

func (*GetCategoryRequest) ProtoReflect

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

func (*GetCategoryRequest) Reset

func (x *GetCategoryRequest) Reset()

func (*GetCategoryRequest) String

func (x *GetCategoryRequest) String() string

type GetCategoryResponse

type GetCategoryResponse struct {
	Category *Category `protobuf:"bytes,1,opt,name=Category,proto3" json:"Category,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCategoryResponse) Descriptor deprecated

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

Deprecated: Use GetCategoryResponse.ProtoReflect.Descriptor instead.

func (*GetCategoryResponse) GetCategory

func (x *GetCategoryResponse) GetCategory() *Category

func (*GetCategoryResponse) ProtoMessage

func (*GetCategoryResponse) ProtoMessage()

func (*GetCategoryResponse) ProtoReflect

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

func (*GetCategoryResponse) Reset

func (x *GetCategoryResponse) Reset()

func (*GetCategoryResponse) String

func (x *GetCategoryResponse) String() string

type GetSubCategoriesRequest

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

func (*GetSubCategoriesRequest) Descriptor deprecated

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

Deprecated: Use GetSubCategoriesRequest.ProtoReflect.Descriptor instead.

func (*GetSubCategoriesRequest) ProtoMessage

func (*GetSubCategoriesRequest) ProtoMessage()

func (*GetSubCategoriesRequest) ProtoReflect

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

func (*GetSubCategoriesRequest) Reset

func (x *GetSubCategoriesRequest) Reset()

func (*GetSubCategoriesRequest) String

func (x *GetSubCategoriesRequest) String() string

type GetSubCategoriesResponse

type GetSubCategoriesResponse struct {
	SubCategory []*SubCategory `protobuf:"bytes,1,rep,name=SubCategory,proto3" json:"SubCategory,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubCategoriesResponse) Descriptor deprecated

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

Deprecated: Use GetSubCategoriesResponse.ProtoReflect.Descriptor instead.

func (*GetSubCategoriesResponse) GetSubCategory

func (x *GetSubCategoriesResponse) GetSubCategory() []*SubCategory

func (*GetSubCategoriesResponse) ProtoMessage

func (*GetSubCategoriesResponse) ProtoMessage()

func (*GetSubCategoriesResponse) ProtoReflect

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

func (*GetSubCategoriesResponse) Reset

func (x *GetSubCategoriesResponse) Reset()

func (*GetSubCategoriesResponse) String

func (x *GetSubCategoriesResponse) String() string

type GetSubCategoryRequest

type GetSubCategoryRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubCategoryRequest) Descriptor deprecated

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

Deprecated: Use GetSubCategoryRequest.ProtoReflect.Descriptor instead.

func (*GetSubCategoryRequest) GetId

func (x *GetSubCategoryRequest) GetId() int64

func (*GetSubCategoryRequest) ProtoMessage

func (*GetSubCategoryRequest) ProtoMessage()

func (*GetSubCategoryRequest) ProtoReflect

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

func (*GetSubCategoryRequest) Reset

func (x *GetSubCategoryRequest) Reset()

func (*GetSubCategoryRequest) String

func (x *GetSubCategoryRequest) String() string

type GetSubCategoryResponse

type GetSubCategoryResponse struct {
	SubCategory *SubCategory `protobuf:"bytes,1,opt,name=SubCategory,proto3" json:"SubCategory,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubCategoryResponse) Descriptor deprecated

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

Deprecated: Use GetSubCategoryResponse.ProtoReflect.Descriptor instead.

func (*GetSubCategoryResponse) GetSubCategory

func (x *GetSubCategoryResponse) GetSubCategory() *SubCategory

func (*GetSubCategoryResponse) ProtoMessage

func (*GetSubCategoryResponse) ProtoMessage()

func (*GetSubCategoryResponse) ProtoReflect

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

func (*GetSubCategoryResponse) Reset

func (x *GetSubCategoryResponse) Reset()

func (*GetSubCategoryResponse) String

func (x *GetSubCategoryResponse) String() string

type GetSummaryClient

type GetSummaryClient interface {
	GetSummary(ctx context.Context, in *SummaryRequest, opts ...grpc.CallOption) (*SummaryResponse, error)
}

GetSummaryClient is the client API for GetSummary 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 NewGetSummaryClient

func NewGetSummaryClient(cc grpc.ClientConnInterface) GetSummaryClient

type GetSummaryServer

type GetSummaryServer interface {
	GetSummary(context.Context, *SummaryRequest) (*SummaryResponse, error)
	// contains filtered or unexported methods
}

GetSummaryServer is the server API for GetSummary service. All implementations must embed UnimplementedGetSummaryServer for forward compatibility

type GetTransactionRequest

type GetTransactionRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionRequest) Descriptor deprecated

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

Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionRequest) GetId

func (x *GetTransactionRequest) GetId() int64

func (*GetTransactionRequest) ProtoMessage

func (*GetTransactionRequest) ProtoMessage()

func (*GetTransactionRequest) ProtoReflect

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

func (*GetTransactionRequest) Reset

func (x *GetTransactionRequest) Reset()

func (*GetTransactionRequest) String

func (x *GetTransactionRequest) String() string

type GetTransactionResponse

type GetTransactionResponse struct {
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionResponse) Descriptor deprecated

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

Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionResponse) GetTransaction

func (x *GetTransactionResponse) GetTransaction() *Transaction

func (*GetTransactionResponse) ProtoMessage

func (*GetTransactionResponse) ProtoMessage()

func (*GetTransactionResponse) ProtoReflect

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

func (*GetTransactionResponse) Reset

func (x *GetTransactionResponse) Reset()

func (*GetTransactionResponse) String

func (x *GetTransactionResponse) String() string

type GetTransactionsRequest

type GetTransactionsRequest struct {
	Ids            []int64                `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	StartTime      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
	EndTime        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`
	AccountIds     []int64                `protobuf:"varint,4,rep,packed,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	CategoryIds    []int64                `protobuf:"varint,5,rep,packed,name=category_ids,json=categoryIds,proto3" json:"category_ids,omitempty"`
	SubCategoryIds []int64                `protobuf:"varint,6,rep,packed,name=sub_category_ids,json=subCategoryIds,proto3" json:"sub_category_ids,omitempty"`
	Names          []string               `protobuf:"bytes,7,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionsRequest) Descriptor deprecated

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

Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionsRequest) GetAccountIds

func (x *GetTransactionsRequest) GetAccountIds() []int64

func (*GetTransactionsRequest) GetCategoryIds

func (x *GetTransactionsRequest) GetCategoryIds() []int64

func (*GetTransactionsRequest) GetEndTime

func (x *GetTransactionsRequest) GetEndTime() *timestamppb.Timestamp

func (*GetTransactionsRequest) GetIds

func (x *GetTransactionsRequest) GetIds() []int64

func (*GetTransactionsRequest) GetNames

func (x *GetTransactionsRequest) GetNames() []string

func (*GetTransactionsRequest) GetStartTime

func (x *GetTransactionsRequest) GetStartTime() *timestamppb.Timestamp

func (*GetTransactionsRequest) GetSubCategoryIds

func (x *GetTransactionsRequest) GetSubCategoryIds() []int64

func (*GetTransactionsRequest) ProtoMessage

func (*GetTransactionsRequest) ProtoMessage()

func (*GetTransactionsRequest) ProtoReflect

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

func (*GetTransactionsRequest) Reset

func (x *GetTransactionsRequest) Reset()

func (*GetTransactionsRequest) String

func (x *GetTransactionsRequest) String() string

type GetTransactionsResponse

type GetTransactionsResponse struct {
	Transaction []*Transaction `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionsResponse) Descriptor deprecated

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

Deprecated: Use GetTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionsResponse) GetTransaction

func (x *GetTransactionsResponse) GetTransaction() []*Transaction

func (*GetTransactionsResponse) ProtoMessage

func (*GetTransactionsResponse) ProtoMessage()

func (*GetTransactionsResponse) ProtoReflect

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

func (*GetTransactionsResponse) Reset

func (x *GetTransactionsResponse) Reset()

func (*GetTransactionsResponse) String

func (x *GetTransactionsResponse) String() string

type SUMMARY_REPORT

type SUMMARY_REPORT int32
const (
	SUMMARY_REPORT_All SUMMARY_REPORT = 0
)

func (SUMMARY_REPORT) Descriptor

func (SUMMARY_REPORT) Enum

func (x SUMMARY_REPORT) Enum() *SUMMARY_REPORT

func (SUMMARY_REPORT) EnumDescriptor deprecated

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

Deprecated: Use SUMMARY_REPORT.Descriptor instead.

func (SUMMARY_REPORT) Number

func (SUMMARY_REPORT) String

func (x SUMMARY_REPORT) String() string

func (SUMMARY_REPORT) Type

type SubCategoriesClient

type SubCategoriesClient interface {
	GetSubCategory(ctx context.Context, in *GetSubCategoryRequest, opts ...grpc.CallOption) (*GetSubCategoryResponse, error)
	GetSubCategories(ctx context.Context, in *GetSubCategoriesRequest, opts ...grpc.CallOption) (*GetSubCategoriesResponse, error)
	CreateSubCategory(ctx context.Context, in *CreateSubCategoryRequest, opts ...grpc.CallOption) (*CreateSubCategoryResponse, error)
	DeleteSubCategory(ctx context.Context, in *DeleteSubCategoryRequest, opts ...grpc.CallOption) (*DeleteSubCategoryResponse, error)
}

SubCategoriesClient is the client API for SubCategories 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 SubCategoriesServer

type SubCategoriesServer interface {
	GetSubCategory(context.Context, *GetSubCategoryRequest) (*GetSubCategoryResponse, error)
	GetSubCategories(context.Context, *GetSubCategoriesRequest) (*GetSubCategoriesResponse, error)
	CreateSubCategory(context.Context, *CreateSubCategoryRequest) (*CreateSubCategoryResponse, error)
	DeleteSubCategory(context.Context, *DeleteSubCategoryRequest) (*DeleteSubCategoryResponse, error)
	// contains filtered or unexported methods
}

SubCategoriesServer is the server API for SubCategories service. All implementations must embed UnimplementedSubCategoriesServer for forward compatibility

type SubCategory

type SubCategory struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*SubCategory) Descriptor deprecated

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

Deprecated: Use SubCategory.ProtoReflect.Descriptor instead.

func (*SubCategory) GetId

func (x *SubCategory) GetId() int64

func (*SubCategory) GetName

func (x *SubCategory) GetName() string

func (*SubCategory) ProtoMessage

func (*SubCategory) ProtoMessage()

func (*SubCategory) ProtoReflect

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

func (*SubCategory) Reset

func (x *SubCategory) Reset()

func (*SubCategory) String

func (x *SubCategory) String() string

type SummaryRequest

type SummaryRequest struct {
	SummaryReport SUMMARY_REPORT `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SummaryRequest) Descriptor deprecated

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

Deprecated: Use SummaryRequest.ProtoReflect.Descriptor instead.

func (*SummaryRequest) GetSummaryReport

func (x *SummaryRequest) GetSummaryReport() SUMMARY_REPORT

func (*SummaryRequest) ProtoMessage

func (*SummaryRequest) ProtoMessage()

func (*SummaryRequest) ProtoReflect

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

func (*SummaryRequest) Reset

func (x *SummaryRequest) Reset()

func (*SummaryRequest) String

func (x *SummaryRequest) String() string

type SummaryResponse

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

func (*SummaryResponse) Descriptor deprecated

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

Deprecated: Use SummaryResponse.ProtoReflect.Descriptor instead.

func (*SummaryResponse) GetMessage

func (x *SummaryResponse) GetMessage() string

func (*SummaryResponse) ProtoMessage

func (*SummaryResponse) ProtoMessage()

func (*SummaryResponse) ProtoReflect

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

func (*SummaryResponse) Reset

func (x *SummaryResponse) Reset()

func (*SummaryResponse) String

func (x *SummaryResponse) String() string

type Transaction

type Transaction struct {
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Timestamp     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	AccountId     int64                  `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	CategoryId    int64                  `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	SubCategoryId int64                  `protobuf:"varint,5,opt,name=sub_category_id,json=subCategoryId,proto3" json:"sub_category_id,omitempty"`
	Name          string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Debit         float64                `protobuf:"fixed64,7,opt,name=debit,proto3" json:"debit,omitempty"`
	Credit        float64                `protobuf:"fixed64,8,opt,name=credit,proto3" json:"credit,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetAccountId

func (x *Transaction) GetAccountId() int64

func (*Transaction) GetCategoryId

func (x *Transaction) GetCategoryId() int64

func (*Transaction) GetCredit

func (x *Transaction) GetCredit() float64

func (*Transaction) GetDebit

func (x *Transaction) GetDebit() float64

func (*Transaction) GetId

func (x *Transaction) GetId() int64

func (*Transaction) GetName

func (x *Transaction) GetName() string

func (*Transaction) GetSubCategoryId

func (x *Transaction) GetSubCategoryId() int64

func (*Transaction) GetTimestamp

func (x *Transaction) GetTimestamp() *timestamppb.Timestamp

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 TransactionsClient

type TransactionsClient interface {
	GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*GetTransactionsResponse, error)
	CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*CreateTransactionResponse, error)
	DeleteTransaction(ctx context.Context, in *DeleteTransactionRequest, opts ...grpc.CallOption) (*DeleteTransactionResponse, error)
}

TransactionsClient is the client API for Transactions 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 TransactionsServer

type TransactionsServer interface {
	GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
	GetTransactions(context.Context, *GetTransactionsRequest) (*GetTransactionsResponse, error)
	CreateTransaction(context.Context, *CreateTransactionRequest) (*CreateTransactionResponse, error)
	DeleteTransaction(context.Context, *DeleteTransactionRequest) (*DeleteTransactionResponse, error)
	// contains filtered or unexported methods
}

TransactionsServer is the server API for Transactions service. All implementations must embed UnimplementedTransactionsServer for forward compatibility

type UnimplementedAccountsServer

type UnimplementedAccountsServer struct {
}

UnimplementedAccountsServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountsServer) CreateAccount

func (UnimplementedAccountsServer) DeleteAccount

func (UnimplementedAccountsServer) GetAccount

func (UnimplementedAccountsServer) GetAccounts

type UnimplementedCategoriesServer

type UnimplementedCategoriesServer struct {
}

UnimplementedCategoriesServer must be embedded to have forward compatible implementations.

func (UnimplementedCategoriesServer) CreateCategory

func (UnimplementedCategoriesServer) DeleteCategory

func (UnimplementedCategoriesServer) GetCategories

func (UnimplementedCategoriesServer) GetCategory

type UnimplementedGetSummaryServer

type UnimplementedGetSummaryServer struct {
}

UnimplementedGetSummaryServer must be embedded to have forward compatible implementations.

func (UnimplementedGetSummaryServer) GetSummary

type UnimplementedSubCategoriesServer

type UnimplementedSubCategoriesServer struct {
}

UnimplementedSubCategoriesServer must be embedded to have forward compatible implementations.

func (UnimplementedSubCategoriesServer) CreateSubCategory

func (UnimplementedSubCategoriesServer) DeleteSubCategory

func (UnimplementedSubCategoriesServer) GetSubCategories

func (UnimplementedSubCategoriesServer) GetSubCategory

type UnimplementedTransactionsServer

type UnimplementedTransactionsServer struct {
}

UnimplementedTransactionsServer must be embedded to have forward compatible implementations.

func (UnimplementedTransactionsServer) CreateTransaction

func (UnimplementedTransactionsServer) DeleteTransaction

func (UnimplementedTransactionsServer) GetTransaction

func (UnimplementedTransactionsServer) GetTransactions

type UnsafeAccountsServer

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

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

type UnsafeCategoriesServer

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

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

type UnsafeGetSummaryServer

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

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

type UnsafeSubCategoriesServer

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

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

type UnsafeTransactionsServer

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

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

Jump to

Keyboard shortcuts

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