pb

package
v0.0.0-...-24cbbce Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_jarvis_v1_proto protoreflect.FileDescriptor
View Source
var JarvisV1_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "jarvis.v1.JarvisV1",
	HandlerType: (*JarvisV1Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDailyClose",
			Handler:    _JarvisV1_ListDailyClose_Handler,
		},
		{
			MethodName: "ListStocks",
			Handler:    _JarvisV1_ListStocks_Handler,
		},
		{
			MethodName: "ListCategories",
			Handler:    _JarvisV1_ListCategories_Handler,
		},
		{
			MethodName: "GetStakeConcentration",
			Handler:    _JarvisV1_GetStakeConcentration_Handler,
		},
		{
			MethodName: "ListThreePrimary",
			Handler:    _JarvisV1_ListThreePrimary_Handler,
		},
		{
			MethodName: "ListSelections",
			Handler:    _JarvisV1_ListSelections_Handler,
		},
		{
			MethodName: "ListPickedStocks",
			Handler:    _JarvisV1_ListPickedStocks_Handler,
		},
		{
			MethodName: "InsertPickedStocks",
			Handler:    _JarvisV1_InsertPickedStocks_Handler,
		},
		{
			MethodName: "DeletePickedStocks",
			Handler:    _JarvisV1_DeletePickedStocks_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _JarvisV1_CreateUser_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _JarvisV1_ListUsers_Handler,
		},
		{
			MethodName: "GetBalance",
			Handler:    _JarvisV1_GetBalance_Handler,
		},
		{
			MethodName: "CreateTransaction",
			Handler:    _JarvisV1_CreateTransaction_Handler,
		},
		{
			MethodName: "CreateOrder",
			Handler:    _JarvisV1_CreateOrder_Handler,
		},
		{
			MethodName: "ListOrders",
			Handler:    _JarvisV1_ListOrders_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _JarvisV1_Login_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _JarvisV1_Logout_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "jarvis.v1.proto",
}

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

Functions

func RegisterJarvisV1Server

func RegisterJarvisV1Server(s grpc.ServiceRegistrar, srv JarvisV1Server)

Types

type Balance

type Balance struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Balance   float32                `protobuf:"fixed32,4,opt,name=balance,proto3" json:"balance,omitempty"`
	Available float32                `protobuf:"fixed32,5,opt,name=available,proto3" json:"available,omitempty"`
	Pending   float32                `protobuf:"fixed32,6,opt,name=pending,proto3" json:"pending,omitempty"`
	// contains filtered or unexported fields
}

func (*Balance) Descriptor deprecated

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

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetAvailable

func (x *Balance) GetAvailable() float32

func (*Balance) GetBalance

func (x *Balance) GetBalance() float32

func (*Balance) GetCreatedAt

func (x *Balance) GetCreatedAt() *timestamppb.Timestamp

func (*Balance) GetId

func (x *Balance) GetId() uint64

func (*Balance) GetPending

func (x *Balance) GetPending() float32

func (*Balance) GetUpdatedAt

func (x *Balance) GetUpdatedAt() *timestamppb.Timestamp

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

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

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) String() string

type CreateOrderRequest

type CreateOrderRequest struct {
	OrderType    string  `protobuf:"bytes,2,opt,name=orderType,proto3" json:"orderType,omitempty"`
	StockID      string  `protobuf:"bytes,3,opt,name=stockID,proto3" json:"stockID,omitempty"`
	TradePrice   float32 `protobuf:"fixed32,4,opt,name=tradePrice,proto3" json:"tradePrice,omitempty"`
	Quantity     uint64  `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
	ExchangeDate string  `protobuf:"bytes,6,opt,name=exchangeDate,proto3" json:"exchangeDate,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrderRequest) Descriptor deprecated

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

Deprecated: Use CreateOrderRequest.ProtoReflect.Descriptor instead.

func (*CreateOrderRequest) GetExchangeDate

func (x *CreateOrderRequest) GetExchangeDate() string

func (*CreateOrderRequest) GetOrderType

func (x *CreateOrderRequest) GetOrderType() string

func (*CreateOrderRequest) GetQuantity

func (x *CreateOrderRequest) GetQuantity() uint64

func (*CreateOrderRequest) GetStockID

func (x *CreateOrderRequest) GetStockID() string

func (*CreateOrderRequest) GetTradePrice

func (x *CreateOrderRequest) GetTradePrice() float32

func (*CreateOrderRequest) ProtoMessage

func (*CreateOrderRequest) ProtoMessage()

func (*CreateOrderRequest) ProtoReflect

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

func (*CreateOrderRequest) Reset

func (x *CreateOrderRequest) Reset()

func (*CreateOrderRequest) String

func (x *CreateOrderRequest) String() string

type CreateOrderResponse

type CreateOrderResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrderResponse) Descriptor deprecated

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

Deprecated: Use CreateOrderResponse.ProtoReflect.Descriptor instead.

func (*CreateOrderResponse) GetErrorCode

func (x *CreateOrderResponse) GetErrorCode() string

func (*CreateOrderResponse) GetErrorMessage

func (x *CreateOrderResponse) GetErrorMessage() string

func (*CreateOrderResponse) GetStatus

func (x *CreateOrderResponse) GetStatus() int32

func (*CreateOrderResponse) GetSuccess

func (x *CreateOrderResponse) GetSuccess() bool

func (*CreateOrderResponse) ProtoMessage

func (*CreateOrderResponse) ProtoMessage()

func (*CreateOrderResponse) ProtoReflect

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

func (*CreateOrderResponse) Reset

func (x *CreateOrderResponse) Reset()

func (*CreateOrderResponse) String

func (x *CreateOrderResponse) String() string

type CreateTransactionRequest

type CreateTransactionRequest struct {
	OrderType string  `protobuf:"bytes,2,opt,name=orderType,proto3" json:"orderType,omitempty"`
	Amount    float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionRequest) Descriptor deprecated

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

Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead.

func (*CreateTransactionRequest) GetAmount

func (x *CreateTransactionRequest) GetAmount() float32

func (*CreateTransactionRequest) GetOrderType

func (x *CreateTransactionRequest) GetOrderType() string

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 {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionResponse) Descriptor deprecated

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

Deprecated: Use CreateTransactionResponse.ProtoReflect.Descriptor instead.

func (*CreateTransactionResponse) GetErrorCode

func (x *CreateTransactionResponse) GetErrorCode() string

func (*CreateTransactionResponse) GetErrorMessage

func (x *CreateTransactionResponse) GetErrorMessage() string

func (*CreateTransactionResponse) GetStatus

func (x *CreateTransactionResponse) GetStatus() int32

func (*CreateTransactionResponse) GetSuccess

func (x *CreateTransactionResponse) GetSuccess() bool

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 CreateUserRequest

type CreateUserRequest struct {
	Email     string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Password  string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetFirstName

func (x *CreateUserRequest) GetFirstName() string

func (*CreateUserRequest) GetLastName

func (x *CreateUserRequest) GetLastName() string

func (*CreateUserRequest) GetPassword

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) GetPhone

func (x *CreateUserRequest) GetPhone() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetErrorCode

func (x *CreateUserResponse) GetErrorCode() string

func (*CreateUserResponse) GetErrorMessage

func (x *CreateUserResponse) GetErrorMessage() string

func (*CreateUserResponse) GetStatus

func (x *CreateUserResponse) GetStatus() int32

func (*CreateUserResponse) GetSuccess

func (x *CreateUserResponse) GetSuccess() bool

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DailyClose

type DailyClose struct {
	Id           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	StockID      string                 `protobuf:"bytes,5,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Date         string                 `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
	TradeShares  uint64                 `protobuf:"varint,7,opt,name=tradeShares,proto3" json:"tradeShares,omitempty"`
	Transactions uint64                 `protobuf:"varint,8,opt,name=transactions,proto3" json:"transactions,omitempty"`
	Turnover     uint64                 `protobuf:"varint,9,opt,name=turnover,proto3" json:"turnover,omitempty"`
	Open         float32                `protobuf:"fixed32,10,opt,name=open,proto3" json:"open,omitempty"`
	Close        float32                `protobuf:"fixed32,11,opt,name=close,proto3" json:"close,omitempty"`
	High         float32                `protobuf:"fixed32,12,opt,name=high,proto3" json:"high,omitempty"`
	Low          float32                `protobuf:"fixed32,13,opt,name=low,proto3" json:"low,omitempty"`
	Diff         float32                `protobuf:"fixed32,14,opt,name=diff,proto3" json:"diff,omitempty"`
	// contains filtered or unexported fields
}

func (*DailyClose) Descriptor deprecated

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

Deprecated: Use DailyClose.ProtoReflect.Descriptor instead.

func (*DailyClose) GetClose

func (x *DailyClose) GetClose() float32

func (*DailyClose) GetCreatedAt

func (x *DailyClose) GetCreatedAt() *timestamppb.Timestamp

func (*DailyClose) GetDate

func (x *DailyClose) GetDate() string

func (*DailyClose) GetDeletedAt

func (x *DailyClose) GetDeletedAt() *timestamppb.Timestamp

func (*DailyClose) GetDiff

func (x *DailyClose) GetDiff() float32

func (*DailyClose) GetHigh

func (x *DailyClose) GetHigh() float32

func (*DailyClose) GetId

func (x *DailyClose) GetId() uint64

func (*DailyClose) GetLow

func (x *DailyClose) GetLow() float32

func (*DailyClose) GetOpen

func (x *DailyClose) GetOpen() float32

func (*DailyClose) GetStockID

func (x *DailyClose) GetStockID() string

func (*DailyClose) GetTradeShares

func (x *DailyClose) GetTradeShares() uint64

func (*DailyClose) GetTransactions

func (x *DailyClose) GetTransactions() uint64

func (*DailyClose) GetTurnover

func (x *DailyClose) GetTurnover() uint64

func (*DailyClose) GetUpdatedAt

func (x *DailyClose) GetUpdatedAt() *timestamppb.Timestamp

func (*DailyClose) ProtoMessage

func (*DailyClose) ProtoMessage()

func (*DailyClose) ProtoReflect

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

func (*DailyClose) Reset

func (x *DailyClose) Reset()

func (*DailyClose) String

func (x *DailyClose) String() string

type DeletePickedStocksRequest

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

func (*DeletePickedStocksRequest) Descriptor deprecated

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

Deprecated: Use DeletePickedStocksRequest.ProtoReflect.Descriptor instead.

func (*DeletePickedStocksRequest) GetStockID

func (x *DeletePickedStocksRequest) GetStockID() string

func (*DeletePickedStocksRequest) ProtoMessage

func (*DeletePickedStocksRequest) ProtoMessage()

func (*DeletePickedStocksRequest) ProtoReflect

func (*DeletePickedStocksRequest) Reset

func (x *DeletePickedStocksRequest) Reset()

func (*DeletePickedStocksRequest) String

func (x *DeletePickedStocksRequest) String() string

type DeletePickedStocksResponse

type DeletePickedStocksResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePickedStocksResponse) Descriptor deprecated

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

Deprecated: Use DeletePickedStocksResponse.ProtoReflect.Descriptor instead.

func (*DeletePickedStocksResponse) GetErrorCode

func (x *DeletePickedStocksResponse) GetErrorCode() string

func (*DeletePickedStocksResponse) GetErrorMessage

func (x *DeletePickedStocksResponse) GetErrorMessage() string

func (*DeletePickedStocksResponse) GetStatus

func (x *DeletePickedStocksResponse) GetStatus() int32

func (*DeletePickedStocksResponse) GetSuccess

func (x *DeletePickedStocksResponse) GetSuccess() bool

func (*DeletePickedStocksResponse) ProtoMessage

func (*DeletePickedStocksResponse) ProtoMessage()

func (*DeletePickedStocksResponse) ProtoReflect

func (*DeletePickedStocksResponse) Reset

func (x *DeletePickedStocksResponse) Reset()

func (*DeletePickedStocksResponse) String

func (x *DeletePickedStocksResponse) String() string

type GetBalanceRequest

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

func (*GetBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetBalanceRequest) ProtoMessage

func (*GetBalanceRequest) ProtoMessage()

func (*GetBalanceRequest) ProtoReflect

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

func (*GetBalanceRequest) Reset

func (x *GetBalanceRequest) Reset()

func (*GetBalanceRequest) String

func (x *GetBalanceRequest) String() string

type GetBalanceResponse

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

func (*GetBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetBalanceResponse) GetBalance

func (x *GetBalanceResponse) GetBalance() *Balance

func (*GetBalanceResponse) ProtoMessage

func (*GetBalanceResponse) ProtoMessage()

func (*GetBalanceResponse) ProtoReflect

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

func (*GetBalanceResponse) Reset

func (x *GetBalanceResponse) Reset()

func (*GetBalanceResponse) String

func (x *GetBalanceResponse) String() string

type GetStakeConcentrationRequest

type GetStakeConcentrationRequest struct {
	StockID string `protobuf:"bytes,1,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Date    string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStakeConcentrationRequest) Descriptor deprecated

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

Deprecated: Use GetStakeConcentrationRequest.ProtoReflect.Descriptor instead.

func (*GetStakeConcentrationRequest) GetDate

func (x *GetStakeConcentrationRequest) GetDate() string

func (*GetStakeConcentrationRequest) GetStockID

func (x *GetStakeConcentrationRequest) GetStockID() string

func (*GetStakeConcentrationRequest) ProtoMessage

func (*GetStakeConcentrationRequest) ProtoMessage()

func (*GetStakeConcentrationRequest) ProtoReflect

func (*GetStakeConcentrationRequest) Reset

func (x *GetStakeConcentrationRequest) Reset()

func (*GetStakeConcentrationRequest) String

type GetStakeConcentrationResponse

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

func (*GetStakeConcentrationResponse) Descriptor deprecated

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

Deprecated: Use GetStakeConcentrationResponse.ProtoReflect.Descriptor instead.

func (*GetStakeConcentrationResponse) GetStakeConcentration

func (x *GetStakeConcentrationResponse) GetStakeConcentration() *StakeConcentration

func (*GetStakeConcentrationResponse) ProtoMessage

func (*GetStakeConcentrationResponse) ProtoMessage()

func (*GetStakeConcentrationResponse) ProtoReflect

func (*GetStakeConcentrationResponse) Reset

func (x *GetStakeConcentrationResponse) Reset()

func (*GetStakeConcentrationResponse) String

type InsertPickedStocksRequest

type InsertPickedStocksRequest struct {
	StockIDs []string `protobuf:"bytes,1,rep,name=stockIDs,proto3" json:"stockIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertPickedStocksRequest) Descriptor deprecated

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

Deprecated: Use InsertPickedStocksRequest.ProtoReflect.Descriptor instead.

func (*InsertPickedStocksRequest) GetStockIDs

func (x *InsertPickedStocksRequest) GetStockIDs() []string

func (*InsertPickedStocksRequest) ProtoMessage

func (*InsertPickedStocksRequest) ProtoMessage()

func (*InsertPickedStocksRequest) ProtoReflect

func (*InsertPickedStocksRequest) Reset

func (x *InsertPickedStocksRequest) Reset()

func (*InsertPickedStocksRequest) String

func (x *InsertPickedStocksRequest) String() string

type InsertPickedStocksResponse

type InsertPickedStocksResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertPickedStocksResponse) Descriptor deprecated

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

Deprecated: Use InsertPickedStocksResponse.ProtoReflect.Descriptor instead.

func (*InsertPickedStocksResponse) GetErrorCode

func (x *InsertPickedStocksResponse) GetErrorCode() string

func (*InsertPickedStocksResponse) GetErrorMessage

func (x *InsertPickedStocksResponse) GetErrorMessage() string

func (*InsertPickedStocksResponse) GetStatus

func (x *InsertPickedStocksResponse) GetStatus() int32

func (*InsertPickedStocksResponse) GetSuccess

func (x *InsertPickedStocksResponse) GetSuccess() bool

func (*InsertPickedStocksResponse) ProtoMessage

func (*InsertPickedStocksResponse) ProtoMessage()

func (*InsertPickedStocksResponse) ProtoReflect

func (*InsertPickedStocksResponse) Reset

func (x *InsertPickedStocksResponse) Reset()

func (*InsertPickedStocksResponse) String

func (x *InsertPickedStocksResponse) String() string

type JarvisV1Client

type JarvisV1Client interface {
	ListDailyClose(ctx context.Context, in *ListDailyCloseRequest, opts ...grpc.CallOption) (*ListDailyCloseResponse, error)
	ListStocks(ctx context.Context, in *ListStockRequest, opts ...grpc.CallOption) (*ListStockResponse, error)
	ListCategories(ctx context.Context, in *ListCategoriesRequest, opts ...grpc.CallOption) (*ListCategoriesResponse, error)
	GetStakeConcentration(ctx context.Context, in *GetStakeConcentrationRequest, opts ...grpc.CallOption) (*GetStakeConcentrationResponse, error)
	ListThreePrimary(ctx context.Context, in *ListThreePrimaryRequest, opts ...grpc.CallOption) (*ListThreePrimaryResponse, error)
	ListSelections(ctx context.Context, in *ListSelectionRequest, opts ...grpc.CallOption) (*ListSelectionResponse, error)
	ListPickedStocks(ctx context.Context, in *ListPickedStocksRequest, opts ...grpc.CallOption) (*ListPickedStocksResponse, error)
	InsertPickedStocks(ctx context.Context, in *InsertPickedStocksRequest, opts ...grpc.CallOption) (*InsertPickedStocksResponse, error)
	DeletePickedStocks(ctx context.Context, in *DeletePickedStocksRequest, opts ...grpc.CallOption) (*DeletePickedStocksResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
	CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*CreateTransactionResponse, error)
	CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderResponse, error)
	ListOrders(ctx context.Context, in *ListOrderRequest, opts ...grpc.CallOption) (*ListOrderResponse, error)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
}

JarvisV1Client is the client API for JarvisV1 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 NewJarvisV1Client

func NewJarvisV1Client(cc grpc.ClientConnInterface) JarvisV1Client

type JarvisV1Server

JarvisV1Server is the server API for JarvisV1 service. All implementations should embed UnimplementedJarvisV1Server for forward compatibility

type ListCategoriesRequest

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

func (*ListCategoriesRequest) Descriptor deprecated

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

Deprecated: Use ListCategoriesRequest.ProtoReflect.Descriptor instead.

func (*ListCategoriesRequest) ProtoMessage

func (*ListCategoriesRequest) ProtoMessage()

func (*ListCategoriesRequest) ProtoReflect

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

func (*ListCategoriesRequest) Reset

func (x *ListCategoriesRequest) Reset()

func (*ListCategoriesRequest) String

func (x *ListCategoriesRequest) String() string

type ListCategoriesResponse

type ListCategoriesResponse struct {
	Entries []string `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCategoriesResponse) Descriptor deprecated

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

Deprecated: Use ListCategoriesResponse.ProtoReflect.Descriptor instead.

func (*ListCategoriesResponse) GetEntries

func (x *ListCategoriesResponse) GetEntries() []string

func (*ListCategoriesResponse) ProtoMessage

func (*ListCategoriesResponse) ProtoMessage()

func (*ListCategoriesResponse) ProtoReflect

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

func (*ListCategoriesResponse) Reset

func (x *ListCategoriesResponse) Reset()

func (*ListCategoriesResponse) String

func (x *ListCategoriesResponse) String() string

type ListDailyCloseRequest

type ListDailyCloseRequest struct {
	Offset       int32                       `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit        int32                       `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	SearchParams *ListDailyCloseSearchParams `protobuf:"bytes,3,opt,name=searchParams,proto3" json:"searchParams,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDailyCloseRequest) Descriptor deprecated

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

Deprecated: Use ListDailyCloseRequest.ProtoReflect.Descriptor instead.

func (*ListDailyCloseRequest) GetLimit

func (x *ListDailyCloseRequest) GetLimit() int32

func (*ListDailyCloseRequest) GetOffset

func (x *ListDailyCloseRequest) GetOffset() int32

func (*ListDailyCloseRequest) GetSearchParams

func (x *ListDailyCloseRequest) GetSearchParams() *ListDailyCloseSearchParams

func (*ListDailyCloseRequest) ProtoMessage

func (*ListDailyCloseRequest) ProtoMessage()

func (*ListDailyCloseRequest) ProtoReflect

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

func (*ListDailyCloseRequest) Reset

func (x *ListDailyCloseRequest) Reset()

func (*ListDailyCloseRequest) String

func (x *ListDailyCloseRequest) String() string

type ListDailyCloseResponse

type ListDailyCloseResponse struct {
	Offset     int32         `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      int32         `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	TotalCount int64         `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	Entries    []*DailyClose `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDailyCloseResponse) Descriptor deprecated

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

Deprecated: Use ListDailyCloseResponse.ProtoReflect.Descriptor instead.

func (*ListDailyCloseResponse) GetEntries

func (x *ListDailyCloseResponse) GetEntries() []*DailyClose

func (*ListDailyCloseResponse) GetLimit

func (x *ListDailyCloseResponse) GetLimit() int32

func (*ListDailyCloseResponse) GetOffset

func (x *ListDailyCloseResponse) GetOffset() int32

func (*ListDailyCloseResponse) GetTotalCount

func (x *ListDailyCloseResponse) GetTotalCount() int64

func (*ListDailyCloseResponse) ProtoMessage

func (*ListDailyCloseResponse) ProtoMessage()

func (*ListDailyCloseResponse) ProtoReflect

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

func (*ListDailyCloseResponse) Reset

func (x *ListDailyCloseResponse) Reset()

func (*ListDailyCloseResponse) String

func (x *ListDailyCloseResponse) String() string

type ListDailyCloseSearchParams

type ListDailyCloseSearchParams struct {
	StockID string `protobuf:"bytes,1,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Start   string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End     string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDailyCloseSearchParams) Descriptor deprecated

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

Deprecated: Use ListDailyCloseSearchParams.ProtoReflect.Descriptor instead.

func (*ListDailyCloseSearchParams) GetEnd

func (x *ListDailyCloseSearchParams) GetEnd() string

func (*ListDailyCloseSearchParams) GetStart

func (x *ListDailyCloseSearchParams) GetStart() string

func (*ListDailyCloseSearchParams) GetStockID

func (x *ListDailyCloseSearchParams) GetStockID() string

func (*ListDailyCloseSearchParams) ProtoMessage

func (*ListDailyCloseSearchParams) ProtoMessage()

func (*ListDailyCloseSearchParams) ProtoReflect

func (*ListDailyCloseSearchParams) Reset

func (x *ListDailyCloseSearchParams) Reset()

func (*ListDailyCloseSearchParams) String

func (x *ListDailyCloseSearchParams) String() string

type ListOrderRequest

type ListOrderRequest struct {
	Offset       int32                  `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit        int32                  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	SearchParams *ListOrderSearchParams `protobuf:"bytes,4,opt,name=searchParams,proto3" json:"searchParams,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrderRequest) Descriptor deprecated

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

Deprecated: Use ListOrderRequest.ProtoReflect.Descriptor instead.

func (*ListOrderRequest) GetLimit

func (x *ListOrderRequest) GetLimit() int32

func (*ListOrderRequest) GetOffset

func (x *ListOrderRequest) GetOffset() int32

func (*ListOrderRequest) GetSearchParams

func (x *ListOrderRequest) GetSearchParams() *ListOrderSearchParams

func (*ListOrderRequest) ProtoMessage

func (*ListOrderRequest) ProtoMessage()

func (*ListOrderRequest) ProtoReflect

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

func (*ListOrderRequest) Reset

func (x *ListOrderRequest) Reset()

func (*ListOrderRequest) String

func (x *ListOrderRequest) String() string

type ListOrderResponse

type ListOrderResponse struct {
	Offset     int32    `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      int32    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	TotalCount int64    `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	Entries    []*Order `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrderResponse) Descriptor deprecated

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

Deprecated: Use ListOrderResponse.ProtoReflect.Descriptor instead.

func (*ListOrderResponse) GetEntries

func (x *ListOrderResponse) GetEntries() []*Order

func (*ListOrderResponse) GetLimit

func (x *ListOrderResponse) GetLimit() int32

func (*ListOrderResponse) GetOffset

func (x *ListOrderResponse) GetOffset() int32

func (*ListOrderResponse) GetTotalCount

func (x *ListOrderResponse) GetTotalCount() int64

func (*ListOrderResponse) ProtoMessage

func (*ListOrderResponse) ProtoMessage()

func (*ListOrderResponse) ProtoReflect

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

func (*ListOrderResponse) Reset

func (x *ListOrderResponse) Reset()

func (*ListOrderResponse) String

func (x *ListOrderResponse) String() string

type ListOrderSearchParams

type ListOrderSearchParams struct {
	StockIDs      []string `protobuf:"bytes,1,rep,name=stockIDs,proto3" json:"stockIDs,omitempty"`
	ExchangeMonth string   `protobuf:"bytes,2,opt,name=exchangeMonth,proto3" json:"exchangeMonth,omitempty"`
	Status        string   `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrderSearchParams) Descriptor deprecated

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

Deprecated: Use ListOrderSearchParams.ProtoReflect.Descriptor instead.

func (*ListOrderSearchParams) GetExchangeMonth

func (x *ListOrderSearchParams) GetExchangeMonth() string

func (*ListOrderSearchParams) GetStatus

func (x *ListOrderSearchParams) GetStatus() string

func (*ListOrderSearchParams) GetStockIDs

func (x *ListOrderSearchParams) GetStockIDs() []string

func (*ListOrderSearchParams) ProtoMessage

func (*ListOrderSearchParams) ProtoMessage()

func (*ListOrderSearchParams) ProtoReflect

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

func (*ListOrderSearchParams) Reset

func (x *ListOrderSearchParams) Reset()

func (*ListOrderSearchParams) String

func (x *ListOrderSearchParams) String() string

type ListPickedStocksRequest

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

func (*ListPickedStocksRequest) Descriptor deprecated

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

Deprecated: Use ListPickedStocksRequest.ProtoReflect.Descriptor instead.

func (*ListPickedStocksRequest) ProtoMessage

func (*ListPickedStocksRequest) ProtoMessage()

func (*ListPickedStocksRequest) ProtoReflect

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

func (*ListPickedStocksRequest) Reset

func (x *ListPickedStocksRequest) Reset()

func (*ListPickedStocksRequest) String

func (x *ListPickedStocksRequest) String() string

type ListPickedStocksResponse

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

func (*ListPickedStocksResponse) Descriptor deprecated

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

Deprecated: Use ListPickedStocksResponse.ProtoReflect.Descriptor instead.

func (*ListPickedStocksResponse) GetEntries

func (x *ListPickedStocksResponse) GetEntries() []*Selection

func (*ListPickedStocksResponse) ProtoMessage

func (*ListPickedStocksResponse) ProtoMessage()

func (*ListPickedStocksResponse) ProtoReflect

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

func (*ListPickedStocksResponse) Reset

func (x *ListPickedStocksResponse) Reset()

func (*ListPickedStocksResponse) String

func (x *ListPickedStocksResponse) String() string

type ListSelectionRequest

type ListSelectionRequest struct {
	Date   string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Strict bool   `protobuf:"varint,2,opt,name=strict,proto3" json:"strict,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSelectionRequest) Descriptor deprecated

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

Deprecated: Use ListSelectionRequest.ProtoReflect.Descriptor instead.

func (*ListSelectionRequest) GetDate

func (x *ListSelectionRequest) GetDate() string

func (*ListSelectionRequest) GetStrict

func (x *ListSelectionRequest) GetStrict() bool

func (*ListSelectionRequest) ProtoMessage

func (*ListSelectionRequest) ProtoMessage()

func (*ListSelectionRequest) ProtoReflect

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

func (*ListSelectionRequest) Reset

func (x *ListSelectionRequest) Reset()

func (*ListSelectionRequest) String

func (x *ListSelectionRequest) String() string

type ListSelectionResponse

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

func (*ListSelectionResponse) Descriptor deprecated

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

Deprecated: Use ListSelectionResponse.ProtoReflect.Descriptor instead.

func (*ListSelectionResponse) GetEntries

func (x *ListSelectionResponse) GetEntries() []*Selection

func (*ListSelectionResponse) ProtoMessage

func (*ListSelectionResponse) ProtoMessage()

func (*ListSelectionResponse) ProtoReflect

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

func (*ListSelectionResponse) Reset

func (x *ListSelectionResponse) Reset()

func (*ListSelectionResponse) String

func (x *ListSelectionResponse) String() string

type ListStockRequest

type ListStockRequest struct {
	Offset       int32                  `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit        int32                  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	SearchParams *ListStockSearchParams `protobuf:"bytes,3,opt,name=searchParams,proto3" json:"searchParams,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStockRequest) Descriptor deprecated

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

Deprecated: Use ListStockRequest.ProtoReflect.Descriptor instead.

func (*ListStockRequest) GetLimit

func (x *ListStockRequest) GetLimit() int32

func (*ListStockRequest) GetOffset

func (x *ListStockRequest) GetOffset() int32

func (*ListStockRequest) GetSearchParams

func (x *ListStockRequest) GetSearchParams() *ListStockSearchParams

func (*ListStockRequest) ProtoMessage

func (*ListStockRequest) ProtoMessage()

func (*ListStockRequest) ProtoReflect

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

func (*ListStockRequest) Reset

func (x *ListStockRequest) Reset()

func (*ListStockRequest) String

func (x *ListStockRequest) String() string

type ListStockResponse

type ListStockResponse struct {
	Offset     int32    `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      int32    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	TotalCount int64    `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	Entries    []*Stock `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStockResponse) Descriptor deprecated

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

Deprecated: Use ListStockResponse.ProtoReflect.Descriptor instead.

func (*ListStockResponse) GetEntries

func (x *ListStockResponse) GetEntries() []*Stock

func (*ListStockResponse) GetLimit

func (x *ListStockResponse) GetLimit() int32

func (*ListStockResponse) GetOffset

func (x *ListStockResponse) GetOffset() int32

func (*ListStockResponse) GetTotalCount

func (x *ListStockResponse) GetTotalCount() int64

func (*ListStockResponse) ProtoMessage

func (*ListStockResponse) ProtoMessage()

func (*ListStockResponse) ProtoReflect

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

func (*ListStockResponse) Reset

func (x *ListStockResponse) Reset()

func (*ListStockResponse) String

func (x *ListStockResponse) String() string

type ListStockSearchParams

type ListStockSearchParams struct {
	StockIDs []string `protobuf:"bytes,1,rep,name=stockIDs,proto3" json:"stockIDs,omitempty"`
	Country  string   `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	Name     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Category string   `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStockSearchParams) Descriptor deprecated

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

Deprecated: Use ListStockSearchParams.ProtoReflect.Descriptor instead.

func (*ListStockSearchParams) GetCategory

func (x *ListStockSearchParams) GetCategory() string

func (*ListStockSearchParams) GetCountry

func (x *ListStockSearchParams) GetCountry() string

func (*ListStockSearchParams) GetName

func (x *ListStockSearchParams) GetName() string

func (*ListStockSearchParams) GetStockIDs

func (x *ListStockSearchParams) GetStockIDs() []string

func (*ListStockSearchParams) ProtoMessage

func (*ListStockSearchParams) ProtoMessage()

func (*ListStockSearchParams) ProtoReflect

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

func (*ListStockSearchParams) Reset

func (x *ListStockSearchParams) Reset()

func (*ListStockSearchParams) String

func (x *ListStockSearchParams) String() string

type ListThreePrimaryRequest

type ListThreePrimaryRequest struct {
	Offset       int32                         `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit        int32                         `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	SearchParams *ListThreePrimarySearchParams `protobuf:"bytes,3,opt,name=searchParams,proto3" json:"searchParams,omitempty"`
	// contains filtered or unexported fields
}

func (*ListThreePrimaryRequest) Descriptor deprecated

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

Deprecated: Use ListThreePrimaryRequest.ProtoReflect.Descriptor instead.

func (*ListThreePrimaryRequest) GetLimit

func (x *ListThreePrimaryRequest) GetLimit() int32

func (*ListThreePrimaryRequest) GetOffset

func (x *ListThreePrimaryRequest) GetOffset() int32

func (*ListThreePrimaryRequest) GetSearchParams

func (*ListThreePrimaryRequest) ProtoMessage

func (*ListThreePrimaryRequest) ProtoMessage()

func (*ListThreePrimaryRequest) ProtoReflect

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

func (*ListThreePrimaryRequest) Reset

func (x *ListThreePrimaryRequest) Reset()

func (*ListThreePrimaryRequest) String

func (x *ListThreePrimaryRequest) String() string

type ListThreePrimaryResponse

type ListThreePrimaryResponse struct {
	Offset     int32           `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      int32           `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	TotalCount int64           `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	Entries    []*ThreePrimary `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListThreePrimaryResponse) Descriptor deprecated

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

Deprecated: Use ListThreePrimaryResponse.ProtoReflect.Descriptor instead.

func (*ListThreePrimaryResponse) GetEntries

func (x *ListThreePrimaryResponse) GetEntries() []*ThreePrimary

func (*ListThreePrimaryResponse) GetLimit

func (x *ListThreePrimaryResponse) GetLimit() int32

func (*ListThreePrimaryResponse) GetOffset

func (x *ListThreePrimaryResponse) GetOffset() int32

func (*ListThreePrimaryResponse) GetTotalCount

func (x *ListThreePrimaryResponse) GetTotalCount() int64

func (*ListThreePrimaryResponse) ProtoMessage

func (*ListThreePrimaryResponse) ProtoMessage()

func (*ListThreePrimaryResponse) ProtoReflect

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

func (*ListThreePrimaryResponse) Reset

func (x *ListThreePrimaryResponse) Reset()

func (*ListThreePrimaryResponse) String

func (x *ListThreePrimaryResponse) String() string

type ListThreePrimarySearchParams

type ListThreePrimarySearchParams struct {
	StockID string `protobuf:"bytes,1,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Start   string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End     string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ListThreePrimarySearchParams) Descriptor deprecated

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

Deprecated: Use ListThreePrimarySearchParams.ProtoReflect.Descriptor instead.

func (*ListThreePrimarySearchParams) GetEnd

func (*ListThreePrimarySearchParams) GetStart

func (x *ListThreePrimarySearchParams) GetStart() string

func (*ListThreePrimarySearchParams) GetStockID

func (x *ListThreePrimarySearchParams) GetStockID() string

func (*ListThreePrimarySearchParams) ProtoMessage

func (*ListThreePrimarySearchParams) ProtoMessage()

func (*ListThreePrimarySearchParams) ProtoReflect

func (*ListThreePrimarySearchParams) Reset

func (x *ListThreePrimarySearchParams) Reset()

func (*ListThreePrimarySearchParams) String

type ListUsersRequest

type ListUsersRequest struct {
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetLimit

func (x *ListUsersRequest) GetLimit() int32

func (*ListUsersRequest) GetOffset

func (x *ListUsersRequest) GetOffset() int32

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Offset     int32   `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      int32   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	TotalCount int64   `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	Entries    []*User `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetEntries

func (x *ListUsersResponse) GetEntries() []*User

func (*ListUsersResponse) GetLimit

func (x *ListUsersResponse) GetLimit() int32

func (*ListUsersResponse) GetOffset

func (x *ListUsersResponse) GetOffset() int32

func (*ListUsersResponse) GetTotalCount

func (x *ListUsersResponse) GetTotalCount() int64

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LoginRequest

type LoginRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetEmail

func (x *LoginRequest) GetEmail() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	AccessToken  string `protobuf:"bytes,5,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetAccessToken

func (x *LoginResponse) GetAccessToken() string

func (*LoginResponse) GetErrorCode

func (x *LoginResponse) GetErrorCode() string

func (*LoginResponse) GetErrorMessage

func (x *LoginResponse) GetErrorMessage() string

func (*LoginResponse) GetStatus

func (x *LoginResponse) GetStatus() int32

func (*LoginResponse) GetSuccess

func (x *LoginResponse) GetSuccess() bool

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LogoutRequest

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

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

type LogoutResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Status       int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ErrorCode    string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) GetErrorCode

func (x *LogoutResponse) GetErrorCode() string

func (*LogoutResponse) GetErrorMessage

func (x *LogoutResponse) GetErrorMessage() string

func (*LogoutResponse) GetStatus

func (x *LogoutResponse) GetStatus() int32

func (*LogoutResponse) GetSuccess

func (x *LogoutResponse) GetSuccess() bool

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type Order

type Order struct {
	Id                uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt         *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Status            string                 `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	StockID           string                 `protobuf:"bytes,5,opt,name=stockID,proto3" json:"stockID,omitempty"`
	BuyPrice          float32                `protobuf:"fixed32,6,opt,name=buyPrice,proto3" json:"buyPrice,omitempty"`
	SellPrice         float32                `protobuf:"fixed32,7,opt,name=sellPrice,proto3" json:"sellPrice,omitempty"`
	BuyQuantity       uint64                 `protobuf:"varint,8,opt,name=buyQuantity,proto3" json:"buyQuantity,omitempty"`
	SellQuantity      uint64                 `protobuf:"varint,9,opt,name=sellQuantity,proto3" json:"sellQuantity,omitempty"`
	BuyExchangeDate   string                 `protobuf:"bytes,10,opt,name=buyExchangeDate,proto3" json:"buyExchangeDate,omitempty"`
	SellExchangeDate  string                 `protobuf:"bytes,11,opt,name=sellExchangeDate,proto3" json:"sellExchangeDate,omitempty"`
	ProfitablePrice   float32                `protobuf:"fixed32,12,opt,name=profitablePrice,proto3" json:"profitablePrice,omitempty"`
	ProfitLoss        float32                `protobuf:"fixed32,13,opt,name=profitLoss,proto3" json:"profitLoss,omitempty"`
	ProfitLossPercent float32                `protobuf:"fixed32,14,opt,name=profitLossPercent,proto3" json:"profitLossPercent,omitempty"`
	StockName         string                 `protobuf:"bytes,15,opt,name=stockName,proto3" json:"stockName,omitempty"`
	CurrentPrice      float32                `protobuf:"fixed32,16,opt,name=currentPrice,proto3" json:"currentPrice,omitempty"`
	// contains filtered or unexported fields
}

func (*Order) Descriptor deprecated

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

Deprecated: Use Order.ProtoReflect.Descriptor instead.

func (*Order) GetBuyExchangeDate

func (x *Order) GetBuyExchangeDate() string

func (*Order) GetBuyPrice

func (x *Order) GetBuyPrice() float32

func (*Order) GetBuyQuantity

func (x *Order) GetBuyQuantity() uint64

func (*Order) GetCreatedAt

func (x *Order) GetCreatedAt() *timestamppb.Timestamp

func (*Order) GetCurrentPrice

func (x *Order) GetCurrentPrice() float32

func (*Order) GetId

func (x *Order) GetId() uint64

func (*Order) GetProfitLoss

func (x *Order) GetProfitLoss() float32

func (*Order) GetProfitLossPercent

func (x *Order) GetProfitLossPercent() float32

func (*Order) GetProfitablePrice

func (x *Order) GetProfitablePrice() float32

func (*Order) GetSellExchangeDate

func (x *Order) GetSellExchangeDate() string

func (*Order) GetSellPrice

func (x *Order) GetSellPrice() float32

func (*Order) GetSellQuantity

func (x *Order) GetSellQuantity() uint64

func (*Order) GetStatus

func (x *Order) GetStatus() string

func (*Order) GetStockID

func (x *Order) GetStockID() string

func (*Order) GetStockName

func (x *Order) GetStockName() string

func (*Order) GetUpdatedAt

func (x *Order) GetUpdatedAt() *timestamppb.Timestamp

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) ProtoReflect

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

func (*Order) Reset

func (x *Order) Reset()

func (*Order) String

func (x *Order) String() string

type Selection

type Selection struct {
	StockID          string  `protobuf:"bytes,1,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Name             string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Category         string  `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Date             string  `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	Concentration_1  float32 `protobuf:"fixed32,5,opt,name=concentration_1,json=concentration1,proto3" json:"concentration_1,omitempty"`
	Concentration_5  float32 `protobuf:"fixed32,6,opt,name=concentration_5,json=concentration5,proto3" json:"concentration_5,omitempty"`
	Concentration_10 float32 `protobuf:"fixed32,7,opt,name=concentration_10,json=concentration10,proto3" json:"concentration_10,omitempty"`
	Concentration_20 float32 `protobuf:"fixed32,8,opt,name=concentration_20,json=concentration20,proto3" json:"concentration_20,omitempty"`
	Concentration_60 float32 `protobuf:"fixed32,9,opt,name=concentration_60,json=concentration60,proto3" json:"concentration_60,omitempty"`
	Volume           int32   `protobuf:"varint,10,opt,name=volume,proto3" json:"volume,omitempty"`
	Foreign          int32   `protobuf:"varint,11,opt,name=foreign,proto3" json:"foreign,omitempty"`
	Trust            int32   `protobuf:"varint,12,opt,name=trust,proto3" json:"trust,omitempty"`
	Dealer           int32   `protobuf:"varint,13,opt,name=dealer,proto3" json:"dealer,omitempty"`
	Hedging          int32   `protobuf:"varint,14,opt,name=hedging,proto3" json:"hedging,omitempty"`
	Open             float32 `protobuf:"fixed32,15,opt,name=open,proto3" json:"open,omitempty"`
	Close            float32 `protobuf:"fixed32,16,opt,name=close,proto3" json:"close,omitempty"`
	High             float32 `protobuf:"fixed32,17,opt,name=high,proto3" json:"high,omitempty"`
	Low              float32 `protobuf:"fixed32,18,opt,name=low,proto3" json:"low,omitempty"`
	Diff             float32 `protobuf:"fixed32,19,opt,name=diff,proto3" json:"diff,omitempty"`
	Trust10          int32   `protobuf:"varint,20,opt,name=trust10,proto3" json:"trust10,omitempty"`
	Foreign10        int32   `protobuf:"varint,21,opt,name=foreign10,proto3" json:"foreign10,omitempty"`
	QuoteChange      float32 `protobuf:"fixed32,22,opt,name=quoteChange,proto3" json:"quoteChange,omitempty"`
	// contains filtered or unexported fields
}

func (*Selection) Descriptor deprecated

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

Deprecated: Use Selection.ProtoReflect.Descriptor instead.

func (*Selection) GetCategory

func (x *Selection) GetCategory() string

func (*Selection) GetClose

func (x *Selection) GetClose() float32

func (*Selection) GetConcentration_1

func (x *Selection) GetConcentration_1() float32

func (*Selection) GetConcentration_10

func (x *Selection) GetConcentration_10() float32

func (*Selection) GetConcentration_20

func (x *Selection) GetConcentration_20() float32

func (*Selection) GetConcentration_5

func (x *Selection) GetConcentration_5() float32

func (*Selection) GetConcentration_60

func (x *Selection) GetConcentration_60() float32

func (*Selection) GetDate

func (x *Selection) GetDate() string

func (*Selection) GetDealer

func (x *Selection) GetDealer() int32

func (*Selection) GetDiff

func (x *Selection) GetDiff() float32

func (*Selection) GetForeign

func (x *Selection) GetForeign() int32

func (*Selection) GetForeign10

func (x *Selection) GetForeign10() int32

func (*Selection) GetHedging

func (x *Selection) GetHedging() int32

func (*Selection) GetHigh

func (x *Selection) GetHigh() float32

func (*Selection) GetLow

func (x *Selection) GetLow() float32

func (*Selection) GetName

func (x *Selection) GetName() string

func (*Selection) GetOpen

func (x *Selection) GetOpen() float32

func (*Selection) GetQuoteChange

func (x *Selection) GetQuoteChange() float32

func (*Selection) GetStockID

func (x *Selection) GetStockID() string

func (*Selection) GetTrust

func (x *Selection) GetTrust() int32

func (*Selection) GetTrust10

func (x *Selection) GetTrust10() int32

func (*Selection) GetVolume

func (x *Selection) GetVolume() int32

func (*Selection) ProtoMessage

func (*Selection) ProtoMessage()

func (*Selection) ProtoReflect

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

func (*Selection) Reset

func (x *Selection) Reset()

func (*Selection) String

func (x *Selection) String() string

type StakeConcentration

type StakeConcentration struct {
	Id               uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	StockID          string                 `protobuf:"bytes,5,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Date             string                 `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
	SumBuyShares     uint64                 `protobuf:"varint,7,opt,name=sumBuyShares,proto3" json:"sumBuyShares,omitempty"`
	SumSellShares    uint64                 `protobuf:"varint,8,opt,name=sumSellShares,proto3" json:"sumSellShares,omitempty"`
	AvgBuyPrice      float32                `protobuf:"fixed32,9,opt,name=avgBuyPrice,proto3" json:"avgBuyPrice,omitempty"`
	AvgSellPrice     float32                `protobuf:"fixed32,10,opt,name=avgSellPrice,proto3" json:"avgSellPrice,omitempty"`
	Concentration_1  float32                `protobuf:"fixed32,11,opt,name=concentration_1,json=concentration1,proto3" json:"concentration_1,omitempty"`
	Concentration_5  float32                `protobuf:"fixed32,12,opt,name=concentration_5,json=concentration5,proto3" json:"concentration_5,omitempty"`
	Concentration_10 float32                `protobuf:"fixed32,13,opt,name=concentration_10,json=concentration10,proto3" json:"concentration_10,omitempty"`
	Concentration_20 float32                `protobuf:"fixed32,14,opt,name=concentration_20,json=concentration20,proto3" json:"concentration_20,omitempty"`
	Concentration_60 float32                `protobuf:"fixed32,15,opt,name=concentration_60,json=concentration60,proto3" json:"concentration_60,omitempty"`
	// contains filtered or unexported fields
}

func (*StakeConcentration) Descriptor deprecated

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

Deprecated: Use StakeConcentration.ProtoReflect.Descriptor instead.

func (*StakeConcentration) GetAvgBuyPrice

func (x *StakeConcentration) GetAvgBuyPrice() float32

func (*StakeConcentration) GetAvgSellPrice

func (x *StakeConcentration) GetAvgSellPrice() float32

func (*StakeConcentration) GetConcentration_1

func (x *StakeConcentration) GetConcentration_1() float32

func (*StakeConcentration) GetConcentration_10

func (x *StakeConcentration) GetConcentration_10() float32

func (*StakeConcentration) GetConcentration_20

func (x *StakeConcentration) GetConcentration_20() float32

func (*StakeConcentration) GetConcentration_5

func (x *StakeConcentration) GetConcentration_5() float32

func (*StakeConcentration) GetConcentration_60

func (x *StakeConcentration) GetConcentration_60() float32

func (*StakeConcentration) GetCreatedAt

func (x *StakeConcentration) GetCreatedAt() *timestamppb.Timestamp

func (*StakeConcentration) GetDate

func (x *StakeConcentration) GetDate() string

func (*StakeConcentration) GetDeletedAt

func (x *StakeConcentration) GetDeletedAt() *timestamppb.Timestamp

func (*StakeConcentration) GetId

func (x *StakeConcentration) GetId() uint64

func (*StakeConcentration) GetStockID

func (x *StakeConcentration) GetStockID() string

func (*StakeConcentration) GetSumBuyShares

func (x *StakeConcentration) GetSumBuyShares() uint64

func (*StakeConcentration) GetSumSellShares

func (x *StakeConcentration) GetSumSellShares() uint64

func (*StakeConcentration) GetUpdatedAt

func (x *StakeConcentration) GetUpdatedAt() *timestamppb.Timestamp

func (*StakeConcentration) ProtoMessage

func (*StakeConcentration) ProtoMessage()

func (*StakeConcentration) ProtoReflect

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

func (*StakeConcentration) Reset

func (x *StakeConcentration) Reset()

func (*StakeConcentration) String

func (x *StakeConcentration) String() string

type Stock

type Stock struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	StockID   string                 `protobuf:"bytes,5,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Name      string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Country   string                 `protobuf:"bytes,7,opt,name=country,proto3" json:"country,omitempty"`
	Category  string                 `protobuf:"bytes,8,opt,name=category,proto3" json:"category,omitempty"`
	Market    string                 `protobuf:"bytes,9,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*Stock) Descriptor deprecated

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

Deprecated: Use Stock.ProtoReflect.Descriptor instead.

func (*Stock) GetCategory

func (x *Stock) GetCategory() string

func (*Stock) GetCountry

func (x *Stock) GetCountry() string

func (*Stock) GetCreatedAt

func (x *Stock) GetCreatedAt() *timestamppb.Timestamp

func (*Stock) GetDeletedAt

func (x *Stock) GetDeletedAt() *timestamppb.Timestamp

func (*Stock) GetId

func (x *Stock) GetId() uint64

func (*Stock) GetMarket

func (x *Stock) GetMarket() string

func (*Stock) GetName

func (x *Stock) GetName() string

func (*Stock) GetStockID

func (x *Stock) GetStockID() string

func (*Stock) GetUpdatedAt

func (x *Stock) GetUpdatedAt() *timestamppb.Timestamp

func (*Stock) ProtoMessage

func (*Stock) ProtoMessage()

func (*Stock) ProtoReflect

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

func (*Stock) Reset

func (x *Stock) Reset()

func (*Stock) String

func (x *Stock) String() string

type ThreePrimary

type ThreePrimary struct {
	Id                 uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt          *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	StockID            string                 `protobuf:"bytes,5,opt,name=stockID,proto3" json:"stockID,omitempty"`
	Date               string                 `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
	ForeignTradeShares int64                  `protobuf:"varint,7,opt,name=foreignTradeShares,proto3" json:"foreignTradeShares,omitempty"`
	TrustTradeShares   int64                  `protobuf:"varint,8,opt,name=trustTradeShares,proto3" json:"trustTradeShares,omitempty"`
	DealerTradeShares  int64                  `protobuf:"varint,9,opt,name=dealerTradeShares,proto3" json:"dealerTradeShares,omitempty"`
	HedgingTradeShares int64                  `protobuf:"varint,10,opt,name=hedgingTradeShares,proto3" json:"hedgingTradeShares,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreePrimary) Descriptor deprecated

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

Deprecated: Use ThreePrimary.ProtoReflect.Descriptor instead.

func (*ThreePrimary) GetCreatedAt

func (x *ThreePrimary) GetCreatedAt() *timestamppb.Timestamp

func (*ThreePrimary) GetDate

func (x *ThreePrimary) GetDate() string

func (*ThreePrimary) GetDealerTradeShares

func (x *ThreePrimary) GetDealerTradeShares() int64

func (*ThreePrimary) GetDeletedAt

func (x *ThreePrimary) GetDeletedAt() *timestamppb.Timestamp

func (*ThreePrimary) GetForeignTradeShares

func (x *ThreePrimary) GetForeignTradeShares() int64

func (*ThreePrimary) GetHedgingTradeShares

func (x *ThreePrimary) GetHedgingTradeShares() int64

func (*ThreePrimary) GetId

func (x *ThreePrimary) GetId() uint64

func (*ThreePrimary) GetStockID

func (x *ThreePrimary) GetStockID() string

func (*ThreePrimary) GetTrustTradeShares

func (x *ThreePrimary) GetTrustTradeShares() int64

func (*ThreePrimary) GetUpdatedAt

func (x *ThreePrimary) GetUpdatedAt() *timestamppb.Timestamp

func (*ThreePrimary) ProtoMessage

func (*ThreePrimary) ProtoMessage()

func (*ThreePrimary) ProtoReflect

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

func (*ThreePrimary) Reset

func (x *ThreePrimary) Reset()

func (*ThreePrimary) String

func (x *ThreePrimary) String() string

type Transaction

type Transaction struct {
	Id           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Status       string                 `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	OrderType    string                 `protobuf:"bytes,5,opt,name=orderType,proto3" json:"orderType,omitempty"`
	CreditAmount float32                `protobuf:"fixed32,6,opt,name=creditAmount,proto3" json:"creditAmount,omitempty"`
	DebitAmount  float32                `protobuf:"fixed32,7,opt,name=debitAmount,proto3" json:"debitAmount,omitempty"`
	OrderID      uint64                 `protobuf:"varint,8,opt,name=orderID,proto3" json:"orderID,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetCreatedAt

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

func (*Transaction) GetCreditAmount

func (x *Transaction) GetCreditAmount() float32

func (*Transaction) GetDebitAmount

func (x *Transaction) GetDebitAmount() float32

func (*Transaction) GetId

func (x *Transaction) GetId() uint64

func (*Transaction) GetOrderID

func (x *Transaction) GetOrderID() uint64

func (*Transaction) GetOrderType

func (x *Transaction) GetOrderType() string

func (*Transaction) GetStatus

func (x *Transaction) GetStatus() string

func (*Transaction) GetUpdatedAt

func (x *Transaction) GetUpdatedAt() *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 UnimplementedJarvisV1Server

type UnimplementedJarvisV1Server struct {
}

UnimplementedJarvisV1Server should be embedded to have forward compatible implementations.

func (UnimplementedJarvisV1Server) CreateOrder

func (UnimplementedJarvisV1Server) CreateTransaction

func (UnimplementedJarvisV1Server) CreateUser

func (UnimplementedJarvisV1Server) GetBalance

func (UnimplementedJarvisV1Server) ListCategories

func (UnimplementedJarvisV1Server) ListDailyClose

func (UnimplementedJarvisV1Server) ListOrders

func (UnimplementedJarvisV1Server) ListPickedStocks

func (UnimplementedJarvisV1Server) ListSelections

func (UnimplementedJarvisV1Server) ListStocks

func (UnimplementedJarvisV1Server) ListThreePrimary

func (UnimplementedJarvisV1Server) ListUsers

func (UnimplementedJarvisV1Server) Login

func (UnimplementedJarvisV1Server) Logout

type UnsafeJarvisV1Server

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

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

type User

type User struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	Email     string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string                 `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	FirstName string                 `protobuf:"bytes,7,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string                 `protobuf:"bytes,8,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() *timestamppb.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFirstName

func (x *User) GetFirstName() string

func (*User) GetId

func (x *User) GetId() uint64

func (*User) GetLastName

func (x *User) GetLastName() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Directories

Path Synopsis
Package pb is a reverse proxy.
Package pb is a reverse proxy.

Jump to

Keyboard shortcuts

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