pb

package
v0.0.0-...-fe5d25b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JournalService_CreateJournal_FullMethodName = "/journal.JournalService/CreateJournal"
	JournalService_RemoveJournal_FullMethodName = "/journal.JournalService/RemoveJournal"
	JournalService_UpdateJournal_FullMethodName = "/journal.JournalService/UpdateJournal"
	JournalService_ListJournals_FullMethodName  = "/journal.JournalService/ListJournals"
	JournalService_GetJournal_FullMethodName    = "/journal.JournalService/GetJournal"
)
View Source
const (
	RecordService_CreateRecord_FullMethodName = "/record.RecordService/CreateRecord"
	RecordService_UpdateRecord_FullMethodName = "/record.RecordService/UpdateRecord"
	RecordService_GetRecord_FullMethodName    = "/record.RecordService/GetRecord"
	RecordService_ListRecords_FullMethodName  = "/record.RecordService/ListRecords"
	RecordService_RemoveRecord_FullMethodName = "/record.RecordService/RemoveRecord"
)
View Source
const (
	AuthService_FindOneUser_FullMethodName = "/auth.AuthService/FindOneUser"
)

Variables

View Source
var AuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthService",
	HandlerType: (*AuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindOneUser",
			Handler:    _AuthService_FindOneUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/pb/auth.proto",
}

AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService 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_pb_auth_proto protoreflect.FileDescriptor
View Source
var File_pkg_pb_journal_proto protoreflect.FileDescriptor
View Source
var File_pkg_pb_record_proto protoreflect.FileDescriptor
View Source
var JournalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "journal.JournalService",
	HandlerType: (*JournalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateJournal",
			Handler:    _JournalService_CreateJournal_Handler,
		},
		{
			MethodName: "RemoveJournal",
			Handler:    _JournalService_RemoveJournal_Handler,
		},
		{
			MethodName: "UpdateJournal",
			Handler:    _JournalService_UpdateJournal_Handler,
		},
		{
			MethodName: "ListJournals",
			Handler:    _JournalService_ListJournals_Handler,
		},
		{
			MethodName: "GetJournal",
			Handler:    _JournalService_GetJournal_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/pb/journal.proto",
}

JournalService_ServiceDesc is the grpc.ServiceDesc for JournalService 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 RecordService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "record.RecordService",
	HandlerType: (*RecordServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRecord",
			Handler:    _RecordService_CreateRecord_Handler,
		},
		{
			MethodName: "UpdateRecord",
			Handler:    _RecordService_UpdateRecord_Handler,
		},
		{
			MethodName: "GetRecord",
			Handler:    _RecordService_GetRecord_Handler,
		},
		{
			MethodName: "ListRecords",
			Handler:    _RecordService_ListRecords_Handler,
		},
		{
			MethodName: "RemoveRecord",
			Handler:    _RecordService_RemoveRecord_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/pb/record.proto",
}

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

Functions

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)

func RegisterJournalServiceServer

func RegisterJournalServiceServer(s grpc.ServiceRegistrar, srv JournalServiceServer)

func RegisterRecordServiceServer

func RegisterRecordServiceServer(s grpc.ServiceRegistrar, srv RecordServiceServer)

Types

type AuthServiceClient

type AuthServiceClient interface {
	FindOneUser(ctx context.Context, in *FindOneUserRequest, opts ...grpc.CallOption) (*FindOneUserResponse, error)
}

AuthServiceClient is the client API for AuthService 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 AuthServiceServer

type AuthServiceServer interface {
	FindOneUser(context.Context, *FindOneUserRequest) (*FindOneUserResponse, error)
	// contains filtered or unexported methods
}

AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility

type CreateJournalRequest

type CreateJournalRequest struct {
	Id              uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedBy       uint64                 `protobuf:"varint,2,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	StartDate       string                 `protobuf:"bytes,4,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate         string                 `protobuf:"bytes,5,opt,name=endDate,proto3" json:"endDate,omitempty"`
	Name            string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Description     string                 `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	UsersSubscribed []uint64               `protobuf:"varint,8,rep,packed,name=usersSubscribed,proto3" json:"usersSubscribed,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateJournalRequest) Descriptor deprecated

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

Deprecated: Use CreateJournalRequest.ProtoReflect.Descriptor instead.

func (*CreateJournalRequest) GetCreatedAt

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

func (*CreateJournalRequest) GetCreatedBy

func (x *CreateJournalRequest) GetCreatedBy() uint64

func (*CreateJournalRequest) GetDescription

func (x *CreateJournalRequest) GetDescription() string

func (*CreateJournalRequest) GetEndDate

func (x *CreateJournalRequest) GetEndDate() string

func (*CreateJournalRequest) GetId

func (x *CreateJournalRequest) GetId() uint64

func (*CreateJournalRequest) GetName

func (x *CreateJournalRequest) GetName() string

func (*CreateJournalRequest) GetStartDate

func (x *CreateJournalRequest) GetStartDate() string

func (*CreateJournalRequest) GetUsersSubscribed

func (x *CreateJournalRequest) GetUsersSubscribed() []uint64

func (*CreateJournalRequest) ProtoMessage

func (*CreateJournalRequest) ProtoMessage()

func (*CreateJournalRequest) ProtoReflect

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

func (*CreateJournalRequest) Reset

func (x *CreateJournalRequest) Reset()

func (*CreateJournalRequest) String

func (x *CreateJournalRequest) String() string

type CreateJournalResponse

type CreateJournalResponse struct {
	Timestamp string   `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Level     string   `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	Message   string   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Status    uint64   `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	Journal   *Journal `protobuf:"bytes,5,opt,name=journal,proto3" json:"journal,omitempty"`
	Error     string   `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateJournalResponse) Descriptor deprecated

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

Deprecated: Use CreateJournalResponse.ProtoReflect.Descriptor instead.

func (*CreateJournalResponse) GetError

func (x *CreateJournalResponse) GetError() string

func (*CreateJournalResponse) GetJournal

func (x *CreateJournalResponse) GetJournal() *Journal

func (*CreateJournalResponse) GetLevel

func (x *CreateJournalResponse) GetLevel() string

func (*CreateJournalResponse) GetMessage

func (x *CreateJournalResponse) GetMessage() string

func (*CreateJournalResponse) GetStatus

func (x *CreateJournalResponse) GetStatus() uint64

func (*CreateJournalResponse) GetTimestamp

func (x *CreateJournalResponse) GetTimestamp() string

func (*CreateJournalResponse) ProtoMessage

func (*CreateJournalResponse) ProtoMessage()

func (*CreateJournalResponse) ProtoReflect

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

func (*CreateJournalResponse) Reset

func (x *CreateJournalResponse) Reset()

func (*CreateJournalResponse) String

func (x *CreateJournalResponse) String() string

type CreateRecordRequest

type CreateRecordRequest struct {
	TimeExecuted    string                 `protobuf:"bytes,1,opt,name=timeExecuted,proto3" json:"timeExecuted,omitempty"`
	Market          string                 `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"`
	StopLoss        float32                `protobuf:"fixed32,3,opt,name=stopLoss,proto3" json:"stopLoss,omitempty"`
	EntryPrice      float32                `protobuf:"fixed32,4,opt,name=entryPrice,proto3" json:"entryPrice,omitempty"`
	ExitPrice       float32                `protobuf:"fixed32,5,opt,name=exitPrice,proto3" json:"exitPrice,omitempty"`
	Journal         uint64                 `protobuf:"varint,6,opt,name=journal,proto3" json:"journal,omitempty"`
	Quantity        float32                `protobuf:"fixed32,7,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Outcome         string                 `protobuf:"bytes,8,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Direction       string                 `protobuf:"bytes,9,opt,name=direction,proto3" json:"direction,omitempty"`
	BaseInstrument  string                 `protobuf:"bytes,10,opt,name=baseInstrument,proto3" json:"baseInstrument,omitempty"`
	QuoteInstrument string                 `protobuf:"bytes,11,opt,name=quoteInstrument,proto3" json:"quoteInstrument,omitempty"`
	TakeProfit      float32                `protobuf:"fixed32,12,opt,name=takeProfit,proto3" json:"takeProfit,omitempty"`
	Comments        string                 `protobuf:"bytes,13,opt,name=comments,proto3" json:"comments,omitempty"`
	Strategy        string                 `protobuf:"bytes,14,opt,name=strategy,proto3" json:"strategy,omitempty"`
	TimeClosed      string                 `protobuf:"bytes,15,opt,name=timeClosed,proto3" json:"timeClosed,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	CreatedBy       uint64                 `protobuf:"varint,17,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRecordRequest) Descriptor deprecated

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

Deprecated: Use CreateRecordRequest.ProtoReflect.Descriptor instead.

func (*CreateRecordRequest) GetBaseInstrument

func (x *CreateRecordRequest) GetBaseInstrument() string

func (*CreateRecordRequest) GetComments

func (x *CreateRecordRequest) GetComments() string

func (*CreateRecordRequest) GetCreatedAt

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

func (*CreateRecordRequest) GetCreatedBy

func (x *CreateRecordRequest) GetCreatedBy() uint64

func (*CreateRecordRequest) GetDirection

func (x *CreateRecordRequest) GetDirection() string

func (*CreateRecordRequest) GetEntryPrice

func (x *CreateRecordRequest) GetEntryPrice() float32

func (*CreateRecordRequest) GetExitPrice

func (x *CreateRecordRequest) GetExitPrice() float32

func (*CreateRecordRequest) GetJournal

func (x *CreateRecordRequest) GetJournal() uint64

func (*CreateRecordRequest) GetMarket

func (x *CreateRecordRequest) GetMarket() string

func (*CreateRecordRequest) GetOutcome

func (x *CreateRecordRequest) GetOutcome() string

func (*CreateRecordRequest) GetQuantity

func (x *CreateRecordRequest) GetQuantity() float32

func (*CreateRecordRequest) GetQuoteInstrument

func (x *CreateRecordRequest) GetQuoteInstrument() string

func (*CreateRecordRequest) GetStopLoss

func (x *CreateRecordRequest) GetStopLoss() float32

func (*CreateRecordRequest) GetStrategy

func (x *CreateRecordRequest) GetStrategy() string

func (*CreateRecordRequest) GetTakeProfit

func (x *CreateRecordRequest) GetTakeProfit() float32

func (*CreateRecordRequest) GetTimeClosed

func (x *CreateRecordRequest) GetTimeClosed() string

func (*CreateRecordRequest) GetTimeExecuted

func (x *CreateRecordRequest) GetTimeExecuted() string

func (*CreateRecordRequest) ProtoMessage

func (*CreateRecordRequest) ProtoMessage()

func (*CreateRecordRequest) ProtoReflect

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

func (*CreateRecordRequest) Reset

func (x *CreateRecordRequest) Reset()

func (*CreateRecordRequest) String

func (x *CreateRecordRequest) String() string

type CreateRecordResponse

type CreateRecordResponse struct {
	Timestamp string  `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Level     string  `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	Message   string  `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Status    uint64  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	Data      *Record `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Error     string  `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRecordResponse) Descriptor deprecated

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

Deprecated: Use CreateRecordResponse.ProtoReflect.Descriptor instead.

func (*CreateRecordResponse) GetData

func (x *CreateRecordResponse) GetData() *Record

func (*CreateRecordResponse) GetError

func (x *CreateRecordResponse) GetError() string

func (*CreateRecordResponse) GetLevel

func (x *CreateRecordResponse) GetLevel() string

func (*CreateRecordResponse) GetMessage

func (x *CreateRecordResponse) GetMessage() string

func (*CreateRecordResponse) GetStatus

func (x *CreateRecordResponse) GetStatus() uint64

func (*CreateRecordResponse) GetTimestamp

func (x *CreateRecordResponse) GetTimestamp() string

func (*CreateRecordResponse) ProtoMessage

func (*CreateRecordResponse) ProtoMessage()

func (*CreateRecordResponse) ProtoReflect

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

func (*CreateRecordResponse) Reset

func (x *CreateRecordResponse) Reset()

func (*CreateRecordResponse) String

func (x *CreateRecordResponse) String() string

type DeleteJournalRequest

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

func (*DeleteJournalRequest) Descriptor deprecated

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

Deprecated: Use DeleteJournalRequest.ProtoReflect.Descriptor instead.

func (*DeleteJournalRequest) GetId

func (x *DeleteJournalRequest) GetId() []string

func (*DeleteJournalRequest) ProtoMessage

func (*DeleteJournalRequest) ProtoMessage()

func (*DeleteJournalRequest) ProtoReflect

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

func (*DeleteJournalRequest) Reset

func (x *DeleteJournalRequest) Reset()

func (*DeleteJournalRequest) String

func (x *DeleteJournalRequest) String() string

type DeleteJournalResponse

type DeleteJournalResponse struct {
	Status       uint64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message      string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Level        string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"`
	Error        string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	RowsAffected uint64 `protobuf:"varint,5,opt,name=rowsAffected,proto3" json:"rowsAffected,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteJournalResponse) Descriptor deprecated

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

Deprecated: Use DeleteJournalResponse.ProtoReflect.Descriptor instead.

func (*DeleteJournalResponse) GetError

func (x *DeleteJournalResponse) GetError() string

func (*DeleteJournalResponse) GetLevel

func (x *DeleteJournalResponse) GetLevel() string

func (*DeleteJournalResponse) GetMessage

func (x *DeleteJournalResponse) GetMessage() string

func (*DeleteJournalResponse) GetRowsAffected

func (x *DeleteJournalResponse) GetRowsAffected() uint64

func (*DeleteJournalResponse) GetStatus

func (x *DeleteJournalResponse) GetStatus() uint64

func (*DeleteJournalResponse) ProtoMessage

func (*DeleteJournalResponse) ProtoMessage()

func (*DeleteJournalResponse) ProtoReflect

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

func (*DeleteJournalResponse) Reset

func (x *DeleteJournalResponse) Reset()

func (*DeleteJournalResponse) String

func (x *DeleteJournalResponse) String() string

type DeleteRecordRequest

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

func (*DeleteRecordRequest) Descriptor deprecated

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

Deprecated: Use DeleteRecordRequest.ProtoReflect.Descriptor instead.

func (*DeleteRecordRequest) GetId

func (x *DeleteRecordRequest) GetId() []string

func (*DeleteRecordRequest) ProtoMessage

func (*DeleteRecordRequest) ProtoMessage()

func (*DeleteRecordRequest) ProtoReflect

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

func (*DeleteRecordRequest) Reset

func (x *DeleteRecordRequest) Reset()

func (*DeleteRecordRequest) String

func (x *DeleteRecordRequest) String() string

type DeleteRecordResponse

type DeleteRecordResponse struct {
	Status       uint64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message      string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Level        string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"`
	Error        string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	RowsAffected uint64 `protobuf:"varint,5,opt,name=rowsAffected,proto3" json:"rowsAffected,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRecordResponse) Descriptor deprecated

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

Deprecated: Use DeleteRecordResponse.ProtoReflect.Descriptor instead.

func (*DeleteRecordResponse) GetError

func (x *DeleteRecordResponse) GetError() string

func (*DeleteRecordResponse) GetLevel

func (x *DeleteRecordResponse) GetLevel() string

func (*DeleteRecordResponse) GetMessage

func (x *DeleteRecordResponse) GetMessage() string

func (*DeleteRecordResponse) GetRowsAffected

func (x *DeleteRecordResponse) GetRowsAffected() uint64

func (*DeleteRecordResponse) GetStatus

func (x *DeleteRecordResponse) GetStatus() uint64

func (*DeleteRecordResponse) ProtoMessage

func (*DeleteRecordResponse) ProtoMessage()

func (*DeleteRecordResponse) ProtoReflect

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

func (*DeleteRecordResponse) Reset

func (x *DeleteRecordResponse) Reset()

func (*DeleteRecordResponse) String

func (x *DeleteRecordResponse) String() string

type FindAllJournalsRequest

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

func (*FindAllJournalsRequest) Descriptor deprecated

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

Deprecated: Use FindAllJournalsRequest.ProtoReflect.Descriptor instead.

func (*FindAllJournalsRequest) ProtoMessage

func (*FindAllJournalsRequest) ProtoMessage()

func (*FindAllJournalsRequest) ProtoReflect

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

func (*FindAllJournalsRequest) Reset

func (x *FindAllJournalsRequest) Reset()

func (*FindAllJournalsRequest) String

func (x *FindAllJournalsRequest) String() string

type FindAllJournalsResponse

type FindAllJournalsResponse struct {
	Status uint64     `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Error  string     `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Data   []*Journal `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FindAllJournalsResponse) Descriptor deprecated

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

Deprecated: Use FindAllJournalsResponse.ProtoReflect.Descriptor instead.

func (*FindAllJournalsResponse) GetData

func (x *FindAllJournalsResponse) GetData() []*Journal

func (*FindAllJournalsResponse) GetError

func (x *FindAllJournalsResponse) GetError() string

func (*FindAllJournalsResponse) GetStatus

func (x *FindAllJournalsResponse) GetStatus() uint64

func (*FindAllJournalsResponse) ProtoMessage

func (*FindAllJournalsResponse) ProtoMessage()

func (*FindAllJournalsResponse) ProtoReflect

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

func (*FindAllJournalsResponse) Reset

func (x *FindAllJournalsResponse) Reset()

func (*FindAllJournalsResponse) String

func (x *FindAllJournalsResponse) String() string

type FindAllRecordsRequest

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

func (*FindAllRecordsRequest) Descriptor deprecated

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

Deprecated: Use FindAllRecordsRequest.ProtoReflect.Descriptor instead.

func (*FindAllRecordsRequest) ProtoMessage

func (*FindAllRecordsRequest) ProtoMessage()

func (*FindAllRecordsRequest) ProtoReflect

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

func (*FindAllRecordsRequest) Reset

func (x *FindAllRecordsRequest) Reset()

func (*FindAllRecordsRequest) String

func (x *FindAllRecordsRequest) String() string

type FindAllRecordsResponse

type FindAllRecordsResponse struct {
	Status uint64    `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Error  string    `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Data   []*Record `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FindAllRecordsResponse) Descriptor deprecated

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

Deprecated: Use FindAllRecordsResponse.ProtoReflect.Descriptor instead.

func (*FindAllRecordsResponse) GetData

func (x *FindAllRecordsResponse) GetData() []*Record

func (*FindAllRecordsResponse) GetError

func (x *FindAllRecordsResponse) GetError() string

func (*FindAllRecordsResponse) GetStatus

func (x *FindAllRecordsResponse) GetStatus() uint64

func (*FindAllRecordsResponse) ProtoMessage

func (*FindAllRecordsResponse) ProtoMessage()

func (*FindAllRecordsResponse) ProtoReflect

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

func (*FindAllRecordsResponse) Reset

func (x *FindAllRecordsResponse) Reset()

func (*FindAllRecordsResponse) String

func (x *FindAllRecordsResponse) String() string

type FindOneJournalRequest

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

func (*FindOneJournalRequest) Descriptor deprecated

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

Deprecated: Use FindOneJournalRequest.ProtoReflect.Descriptor instead.

func (*FindOneJournalRequest) GetId

func (x *FindOneJournalRequest) GetId() uint64

func (*FindOneJournalRequest) ProtoMessage

func (*FindOneJournalRequest) ProtoMessage()

func (*FindOneJournalRequest) ProtoReflect

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

func (*FindOneJournalRequest) Reset

func (x *FindOneJournalRequest) Reset()

func (*FindOneJournalRequest) String

func (x *FindOneJournalRequest) String() string

type FindOneJournalResponse

type FindOneJournalResponse struct {
	Status uint64   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Error  string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Data   *Journal `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FindOneJournalResponse) Descriptor deprecated

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

Deprecated: Use FindOneJournalResponse.ProtoReflect.Descriptor instead.

func (*FindOneJournalResponse) GetData

func (x *FindOneJournalResponse) GetData() *Journal

func (*FindOneJournalResponse) GetError

func (x *FindOneJournalResponse) GetError() string

func (*FindOneJournalResponse) GetStatus

func (x *FindOneJournalResponse) GetStatus() uint64

func (*FindOneJournalResponse) ProtoMessage

func (*FindOneJournalResponse) ProtoMessage()

func (*FindOneJournalResponse) ProtoReflect

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

func (*FindOneJournalResponse) Reset

func (x *FindOneJournalResponse) Reset()

func (*FindOneJournalResponse) String

func (x *FindOneJournalResponse) String() string

type FindOneRecordRequest

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

func (*FindOneRecordRequest) Descriptor deprecated

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

Deprecated: Use FindOneRecordRequest.ProtoReflect.Descriptor instead.

func (*FindOneRecordRequest) GetId

func (x *FindOneRecordRequest) GetId() uint64

func (*FindOneRecordRequest) ProtoMessage

func (*FindOneRecordRequest) ProtoMessage()

func (*FindOneRecordRequest) ProtoReflect

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

func (*FindOneRecordRequest) Reset

func (x *FindOneRecordRequest) Reset()

func (*FindOneRecordRequest) String

func (x *FindOneRecordRequest) String() string

type FindOneRecordResponse

type FindOneRecordResponse struct {
	Status uint64  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Error  string  `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Data   *Record `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FindOneRecordResponse) Descriptor deprecated

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

Deprecated: Use FindOneRecordResponse.ProtoReflect.Descriptor instead.

func (*FindOneRecordResponse) GetData

func (x *FindOneRecordResponse) GetData() *Record

func (*FindOneRecordResponse) GetError

func (x *FindOneRecordResponse) GetError() string

func (*FindOneRecordResponse) GetStatus

func (x *FindOneRecordResponse) GetStatus() uint64

func (*FindOneRecordResponse) ProtoMessage

func (*FindOneRecordResponse) ProtoMessage()

func (*FindOneRecordResponse) ProtoReflect

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

func (*FindOneRecordResponse) Reset

func (x *FindOneRecordResponse) Reset()

func (*FindOneRecordResponse) String

func (x *FindOneRecordResponse) String() string

type FindOneUserRequest

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

func (*FindOneUserRequest) Descriptor deprecated

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

Deprecated: Use FindOneUserRequest.ProtoReflect.Descriptor instead.

func (*FindOneUserRequest) GetId

func (x *FindOneUserRequest) GetId() uint64

func (*FindOneUserRequest) ProtoMessage

func (*FindOneUserRequest) ProtoMessage()

func (*FindOneUserRequest) ProtoReflect

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

func (*FindOneUserRequest) Reset

func (x *FindOneUserRequest) Reset()

func (*FindOneUserRequest) String

func (x *FindOneUserRequest) String() string

type FindOneUserResponse

type FindOneUserResponse struct {
	Status uint64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Error  string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Data   *User  `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FindOneUserResponse) Descriptor deprecated

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

Deprecated: Use FindOneUserResponse.ProtoReflect.Descriptor instead.

func (*FindOneUserResponse) GetData

func (x *FindOneUserResponse) GetData() *User

func (*FindOneUserResponse) GetError

func (x *FindOneUserResponse) GetError() string

func (*FindOneUserResponse) GetStatus

func (x *FindOneUserResponse) GetStatus() uint64

func (*FindOneUserResponse) ProtoMessage

func (*FindOneUserResponse) ProtoMessage()

func (*FindOneUserResponse) ProtoReflect

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

func (*FindOneUserResponse) Reset

func (x *FindOneUserResponse) Reset()

func (*FindOneUserResponse) String

func (x *FindOneUserResponse) String() string

type Journal

type Journal struct {
	Id              uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name            string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description     string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	StartDate       string                 `protobuf:"bytes,4,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate         string                 `protobuf:"bytes,5,opt,name=endDate,proto3" json:"endDate,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	CreatedBy       uint64                 `protobuf:"varint,7,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	UsersSubscribed []uint64               `protobuf:"varint,8,rep,packed,name=usersSubscribed,proto3" json:"usersSubscribed,omitempty"`
	LastUpdatedBy   uint64                 `protobuf:"varint,9,opt,name=lastUpdatedBy,proto3" json:"lastUpdatedBy,omitempty"`
	// contains filtered or unexported fields
}

func (*Journal) Descriptor deprecated

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

Deprecated: Use Journal.ProtoReflect.Descriptor instead.

func (*Journal) GetCreatedAt

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

func (*Journal) GetCreatedBy

func (x *Journal) GetCreatedBy() uint64

func (*Journal) GetDescription

func (x *Journal) GetDescription() string

func (*Journal) GetEndDate

func (x *Journal) GetEndDate() string

func (*Journal) GetId

func (x *Journal) GetId() uint64

func (*Journal) GetLastUpdatedBy

func (x *Journal) GetLastUpdatedBy() uint64

func (*Journal) GetName

func (x *Journal) GetName() string

func (*Journal) GetStartDate

func (x *Journal) GetStartDate() string

func (*Journal) GetUsersSubscribed

func (x *Journal) GetUsersSubscribed() []uint64

func (*Journal) ProtoMessage

func (*Journal) ProtoMessage()

func (*Journal) ProtoReflect

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

func (*Journal) Reset

func (x *Journal) Reset()

func (*Journal) String

func (x *Journal) String() string

type JournalServiceClient

type JournalServiceClient interface {
	CreateJournal(ctx context.Context, in *CreateJournalRequest, opts ...grpc.CallOption) (*CreateJournalResponse, error)
	RemoveJournal(ctx context.Context, in *DeleteJournalRequest, opts ...grpc.CallOption) (*DeleteJournalResponse, error)
	UpdateJournal(ctx context.Context, in *UpdateJournalRequest, opts ...grpc.CallOption) (*UpdateJournalResponse, error)
	ListJournals(ctx context.Context, in *FindAllJournalsRequest, opts ...grpc.CallOption) (*FindAllJournalsResponse, error)
	GetJournal(ctx context.Context, in *FindOneJournalRequest, opts ...grpc.CallOption) (*FindOneJournalResponse, error)
}

JournalServiceClient is the client API for JournalService 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 JournalServiceServer

type JournalServiceServer interface {
	CreateJournal(context.Context, *CreateJournalRequest) (*CreateJournalResponse, error)
	RemoveJournal(context.Context, *DeleteJournalRequest) (*DeleteJournalResponse, error)
	UpdateJournal(context.Context, *UpdateJournalRequest) (*UpdateJournalResponse, error)
	ListJournals(context.Context, *FindAllJournalsRequest) (*FindAllJournalsResponse, error)
	GetJournal(context.Context, *FindOneJournalRequest) (*FindOneJournalResponse, error)
	// contains filtered or unexported methods
}

JournalServiceServer is the server API for JournalService service. All implementations must embed UnimplementedJournalServiceServer for forward compatibility

type Record

type Record struct {
	Id              uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TimeExecuted    string                 `protobuf:"bytes,2,opt,name=timeExecuted,proto3" json:"timeExecuted,omitempty"`
	Market          string                 `protobuf:"bytes,3,opt,name=market,proto3" json:"market,omitempty"`
	StopLoss        float32                `protobuf:"fixed32,4,opt,name=stopLoss,proto3" json:"stopLoss,omitempty"`
	EntryPrice      float32                `protobuf:"fixed32,5,opt,name=entryPrice,proto3" json:"entryPrice,omitempty"`
	ExitPrice       float32                `protobuf:"fixed32,6,opt,name=exitPrice,proto3" json:"exitPrice,omitempty"`
	Journal         uint64                 `protobuf:"varint,7,opt,name=journal,proto3" json:"journal,omitempty"`
	Quantity        float32                `protobuf:"fixed32,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Outcome         string                 `protobuf:"bytes,9,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Direction       string                 `protobuf:"bytes,10,opt,name=direction,proto3" json:"direction,omitempty"`
	BaseInstrument  string                 `protobuf:"bytes,11,opt,name=baseInstrument,proto3" json:"baseInstrument,omitempty"`
	QuoteInstrument string                 `protobuf:"bytes,12,opt,name=quoteInstrument,proto3" json:"quoteInstrument,omitempty"`
	TakeProfit      float32                `protobuf:"fixed32,13,opt,name=takeProfit,proto3" json:"takeProfit,omitempty"`
	Comments        string                 `protobuf:"bytes,14,opt,name=comments,proto3" json:"comments,omitempty"`
	Strategy        string                 `protobuf:"bytes,15,opt,name=strategy,proto3" json:"strategy,omitempty"`
	TimeClosed      string                 `protobuf:"bytes,16,opt,name=timeClosed,proto3" json:"timeClosed,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	CreatedBy       uint64                 `protobuf:"varint,18,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	LastUpdatedBy   uint64                 `protobuf:"varint,19,opt,name=lastUpdatedBy,proto3" json:"lastUpdatedBy,omitempty"`
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetBaseInstrument

func (x *Record) GetBaseInstrument() string

func (*Record) GetComments

func (x *Record) GetComments() string

func (*Record) GetCreatedAt

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

func (*Record) GetCreatedBy

func (x *Record) GetCreatedBy() uint64

func (*Record) GetDirection

func (x *Record) GetDirection() string

func (*Record) GetEntryPrice

func (x *Record) GetEntryPrice() float32

func (*Record) GetExitPrice

func (x *Record) GetExitPrice() float32

func (*Record) GetId

func (x *Record) GetId() uint64

func (*Record) GetJournal

func (x *Record) GetJournal() uint64

func (*Record) GetLastUpdatedBy

func (x *Record) GetLastUpdatedBy() uint64

func (*Record) GetMarket

func (x *Record) GetMarket() string

func (*Record) GetOutcome

func (x *Record) GetOutcome() string

func (*Record) GetQuantity

func (x *Record) GetQuantity() float32

func (*Record) GetQuoteInstrument

func (x *Record) GetQuoteInstrument() string

func (*Record) GetStopLoss

func (x *Record) GetStopLoss() float32

func (*Record) GetStrategy

func (x *Record) GetStrategy() string

func (*Record) GetTakeProfit

func (x *Record) GetTakeProfit() float32

func (*Record) GetTimeClosed

func (x *Record) GetTimeClosed() string

func (*Record) GetTimeExecuted

func (x *Record) GetTimeExecuted() string

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type RecordServiceClient

type RecordServiceClient interface {
	CreateRecord(ctx context.Context, in *CreateRecordRequest, opts ...grpc.CallOption) (*CreateRecordResponse, error)
	UpdateRecord(ctx context.Context, in *UpdateRecordRequest, opts ...grpc.CallOption) (*UpdateRecordResponse, error)
	GetRecord(ctx context.Context, in *FindOneRecordRequest, opts ...grpc.CallOption) (*FindOneRecordResponse, error)
	ListRecords(ctx context.Context, in *FindAllRecordsRequest, opts ...grpc.CallOption) (*FindAllRecordsResponse, error)
	RemoveRecord(ctx context.Context, in *DeleteRecordRequest, opts ...grpc.CallOption) (*DeleteRecordResponse, error)
}

RecordServiceClient is the client API for RecordService 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 RecordServiceServer

type RecordServiceServer interface {
	CreateRecord(context.Context, *CreateRecordRequest) (*CreateRecordResponse, error)
	UpdateRecord(context.Context, *UpdateRecordRequest) (*UpdateRecordResponse, error)
	GetRecord(context.Context, *FindOneRecordRequest) (*FindOneRecordResponse, error)
	ListRecords(context.Context, *FindAllRecordsRequest) (*FindAllRecordsResponse, error)
	RemoveRecord(context.Context, *DeleteRecordRequest) (*DeleteRecordResponse, error)
	// contains filtered or unexported methods
}

RecordServiceServer is the server API for RecordService service. All implementations must embed UnimplementedRecordServiceServer for forward compatibility

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) FindOneUser

type UnimplementedJournalServiceServer

type UnimplementedJournalServiceServer struct {
}

UnimplementedJournalServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJournalServiceServer) CreateJournal

func (UnimplementedJournalServiceServer) GetJournal

func (UnimplementedJournalServiceServer) ListJournals

func (UnimplementedJournalServiceServer) RemoveJournal

func (UnimplementedJournalServiceServer) UpdateJournal

type UnimplementedRecordServiceServer

type UnimplementedRecordServiceServer struct {
}

UnimplementedRecordServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRecordServiceServer) CreateRecord

func (UnimplementedRecordServiceServer) GetRecord

func (UnimplementedRecordServiceServer) ListRecords

func (UnimplementedRecordServiceServer) RemoveRecord

func (UnimplementedRecordServiceServer) UpdateRecord

type UnsafeAuthServiceServer

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

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

type UnsafeJournalServiceServer

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

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

type UnsafeRecordServiceServer

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

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

type UpdateJournalRequest

type UpdateJournalRequest 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"`
	StartDate       string                 `protobuf:"bytes,3,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate         string                 `protobuf:"bytes,4,opt,name=endDate,proto3" json:"endDate,omitempty"`
	Name            string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Description     string                 `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	UsersSubscribed []uint64               `protobuf:"varint,7,rep,packed,name=usersSubscribed,proto3" json:"usersSubscribed,omitempty"`
	LastUpdatedBy   uint64                 `protobuf:"varint,8,opt,name=lastUpdatedBy,proto3" json:"lastUpdatedBy,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateJournalRequest) Descriptor deprecated

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

Deprecated: Use UpdateJournalRequest.ProtoReflect.Descriptor instead.

func (*UpdateJournalRequest) GetCreatedAt

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

func (*UpdateJournalRequest) GetDescription

func (x *UpdateJournalRequest) GetDescription() string

func (*UpdateJournalRequest) GetEndDate

func (x *UpdateJournalRequest) GetEndDate() string

func (*UpdateJournalRequest) GetId

func (x *UpdateJournalRequest) GetId() uint64

func (*UpdateJournalRequest) GetLastUpdatedBy

func (x *UpdateJournalRequest) GetLastUpdatedBy() uint64

func (*UpdateJournalRequest) GetName

func (x *UpdateJournalRequest) GetName() string

func (*UpdateJournalRequest) GetStartDate

func (x *UpdateJournalRequest) GetStartDate() string

func (*UpdateJournalRequest) GetUsersSubscribed

func (x *UpdateJournalRequest) GetUsersSubscribed() []uint64

func (*UpdateJournalRequest) ProtoMessage

func (*UpdateJournalRequest) ProtoMessage()

func (*UpdateJournalRequest) ProtoReflect

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

func (*UpdateJournalRequest) Reset

func (x *UpdateJournalRequest) Reset()

func (*UpdateJournalRequest) String

func (x *UpdateJournalRequest) String() string

type UpdateJournalResponse

type UpdateJournalResponse struct {
	Timestamp string   `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Level     string   `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	Message   string   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Status    uint64   `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	Data      *Journal `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Error     string   `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateJournalResponse) Descriptor deprecated

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

Deprecated: Use UpdateJournalResponse.ProtoReflect.Descriptor instead.

func (*UpdateJournalResponse) GetData

func (x *UpdateJournalResponse) GetData() *Journal

func (*UpdateJournalResponse) GetError

func (x *UpdateJournalResponse) GetError() string

func (*UpdateJournalResponse) GetLevel

func (x *UpdateJournalResponse) GetLevel() string

func (*UpdateJournalResponse) GetMessage

func (x *UpdateJournalResponse) GetMessage() string

func (*UpdateJournalResponse) GetStatus

func (x *UpdateJournalResponse) GetStatus() uint64

func (*UpdateJournalResponse) GetTimestamp

func (x *UpdateJournalResponse) GetTimestamp() string

func (*UpdateJournalResponse) ProtoMessage

func (*UpdateJournalResponse) ProtoMessage()

func (*UpdateJournalResponse) ProtoReflect

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

func (*UpdateJournalResponse) Reset

func (x *UpdateJournalResponse) Reset()

func (*UpdateJournalResponse) String

func (x *UpdateJournalResponse) String() string

type UpdateRecordRequest

type UpdateRecordRequest struct {
	Id              uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TimeExecuted    string                 `protobuf:"bytes,2,opt,name=timeExecuted,proto3" json:"timeExecuted,omitempty"`
	Market          string                 `protobuf:"bytes,3,opt,name=market,proto3" json:"market,omitempty"`
	StopLoss        float32                `protobuf:"fixed32,4,opt,name=stopLoss,proto3" json:"stopLoss,omitempty"`
	EntryPrice      float32                `protobuf:"fixed32,5,opt,name=entryPrice,proto3" json:"entryPrice,omitempty"`
	ExitPrice       float32                `protobuf:"fixed32,6,opt,name=exitPrice,proto3" json:"exitPrice,omitempty"`
	Journal         uint64                 `protobuf:"varint,7,opt,name=journal,proto3" json:"journal,omitempty"`
	Quantity        float32                `protobuf:"fixed32,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Outcome         string                 `protobuf:"bytes,9,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Direction       string                 `protobuf:"bytes,10,opt,name=direction,proto3" json:"direction,omitempty"`
	BaseInstrument  string                 `protobuf:"bytes,11,opt,name=baseInstrument,proto3" json:"baseInstrument,omitempty"`
	QuoteInstrument string                 `protobuf:"bytes,12,opt,name=quoteInstrument,proto3" json:"quoteInstrument,omitempty"`
	TakeProfit      float32                `protobuf:"fixed32,13,opt,name=takeProfit,proto3" json:"takeProfit,omitempty"`
	Comments        string                 `protobuf:"bytes,14,opt,name=comments,proto3" json:"comments,omitempty"`
	Strategy        string                 `protobuf:"bytes,15,opt,name=strategy,proto3" json:"strategy,omitempty"`
	TimeClosed      string                 `protobuf:"bytes,16,opt,name=timeClosed,proto3" json:"timeClosed,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	LastUpdatedBy   uint64                 `protobuf:"varint,18,opt,name=lastUpdatedBy,proto3" json:"lastUpdatedBy,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRecordRequest) Descriptor deprecated

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

Deprecated: Use UpdateRecordRequest.ProtoReflect.Descriptor instead.

func (*UpdateRecordRequest) GetBaseInstrument

func (x *UpdateRecordRequest) GetBaseInstrument() string

func (*UpdateRecordRequest) GetComments

func (x *UpdateRecordRequest) GetComments() string

func (*UpdateRecordRequest) GetCreatedAt

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

func (*UpdateRecordRequest) GetDirection

func (x *UpdateRecordRequest) GetDirection() string

func (*UpdateRecordRequest) GetEntryPrice

func (x *UpdateRecordRequest) GetEntryPrice() float32

func (*UpdateRecordRequest) GetExitPrice

func (x *UpdateRecordRequest) GetExitPrice() float32

func (*UpdateRecordRequest) GetId

func (x *UpdateRecordRequest) GetId() uint64

func (*UpdateRecordRequest) GetJournal

func (x *UpdateRecordRequest) GetJournal() uint64

func (*UpdateRecordRequest) GetLastUpdatedBy

func (x *UpdateRecordRequest) GetLastUpdatedBy() uint64

func (*UpdateRecordRequest) GetMarket

func (x *UpdateRecordRequest) GetMarket() string

func (*UpdateRecordRequest) GetOutcome

func (x *UpdateRecordRequest) GetOutcome() string

func (*UpdateRecordRequest) GetQuantity

func (x *UpdateRecordRequest) GetQuantity() float32

func (*UpdateRecordRequest) GetQuoteInstrument

func (x *UpdateRecordRequest) GetQuoteInstrument() string

func (*UpdateRecordRequest) GetStopLoss

func (x *UpdateRecordRequest) GetStopLoss() float32

func (*UpdateRecordRequest) GetStrategy

func (x *UpdateRecordRequest) GetStrategy() string

func (*UpdateRecordRequest) GetTakeProfit

func (x *UpdateRecordRequest) GetTakeProfit() float32

func (*UpdateRecordRequest) GetTimeClosed

func (x *UpdateRecordRequest) GetTimeClosed() string

func (*UpdateRecordRequest) GetTimeExecuted

func (x *UpdateRecordRequest) GetTimeExecuted() string

func (*UpdateRecordRequest) ProtoMessage

func (*UpdateRecordRequest) ProtoMessage()

func (*UpdateRecordRequest) ProtoReflect

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

func (*UpdateRecordRequest) Reset

func (x *UpdateRecordRequest) Reset()

func (*UpdateRecordRequest) String

func (x *UpdateRecordRequest) String() string

type UpdateRecordResponse

type UpdateRecordResponse struct {
	Timestamp string  `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Level     string  `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	Message   string  `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Status    uint64  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	Data      *Record `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Error     string  `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRecordResponse) Descriptor deprecated

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

Deprecated: Use UpdateRecordResponse.ProtoReflect.Descriptor instead.

func (*UpdateRecordResponse) GetData

func (x *UpdateRecordResponse) GetData() *Record

func (*UpdateRecordResponse) GetError

func (x *UpdateRecordResponse) GetError() string

func (*UpdateRecordResponse) GetLevel

func (x *UpdateRecordResponse) GetLevel() string

func (*UpdateRecordResponse) GetMessage

func (x *UpdateRecordResponse) GetMessage() string

func (*UpdateRecordResponse) GetStatus

func (x *UpdateRecordResponse) GetStatus() uint64

func (*UpdateRecordResponse) GetTimestamp

func (x *UpdateRecordResponse) GetTimestamp() string

func (*UpdateRecordResponse) ProtoMessage

func (*UpdateRecordResponse) ProtoMessage()

func (*UpdateRecordResponse) ProtoReflect

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

func (*UpdateRecordResponse) Reset

func (x *UpdateRecordResponse) Reset()

func (*UpdateRecordResponse) String

func (x *UpdateRecordResponse) String() string

type User

type User struct {
	Id        uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Email     string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password  string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	FirstName string `protobuf:"bytes,4,opt,name=firstName,proto3" json:"firstName,omitempty"`
	LastName  string `protobuf:"bytes,5,opt,name=lastName,proto3" json:"lastName,omitempty"`
	Bio       string `protobuf:"bytes,6,opt,name=bio,proto3" json:"bio,omitempty"`
	Role      string `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty"`
	Token     string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"`
	CreatedAt string `protobuf:"bytes,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetBio

func (x *User) GetBio() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() string

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) GetPassword

func (x *User) GetPassword() string

func (*User) GetRole

func (x *User) GetRole() string

func (*User) GetToken

func (x *User) GetToken() string

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

Jump to

Keyboard shortcuts

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