Documentation ¶
Index ¶
- Variables
- type Bar
- func (*Bar) Descriptor() ([]byte, []int)deprecated
- func (x *Bar) GetClose() float64
- func (x *Bar) GetHigh() float64
- func (x *Bar) GetLow() float64
- func (x *Bar) GetNumber() int32
- func (x *Bar) GetOpen() float64
- func (x *Bar) GetOtc() bool
- func (x *Bar) GetTimestamp() *gopb.UnixTimestamp
- func (x *Bar) GetVolume() int64
- func (x *Bar) GetWeighted() float64
- func (*Bar) ProtoMessage()
- func (x *Bar) ProtoReflect() protoreflect.Message
- func (x *Bar) Reset()
- func (x *Bar) String() string
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetDomain() string
- func (x *Client) GetId() string
- func (x *Client) GetType() ClientType
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type ClientType
- func (ClientType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientType) Enum() *ClientType
- func (ClientType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientType) Number() protoreflect.EnumNumber
- func (x ClientType) String() string
- func (ClientType) Type() protoreflect.EnumType
- func (enum *ClientType) UnmarshalJSON(data []byte) error
- type User
Constants ¶
This section is empty.
Variables ¶
var ( ClientType_name = map[int32]string{ 0: "Invalid", 1: "Web", 2: "CLI", 3: "Other", } ClientType_value = map[string]int32{ "Invalid": 0, "Web": 1, "CLI": 2, "Other": 3, } )
Enum value maps for ClientType.
var ClientTypeAlternates = map[string]ClientType{ "": ClientType_Invalid, "web": ClientType_Web, "cli": ClientType_CLI, "other": ClientType_Other, }
ClientTypeAlternates contains alternative values for the DynamoDB.ClientType enum
var File_protos_frontend_data_iam_proto protoreflect.FileDescriptor
var File_protos_frontend_data_ohlc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bar ¶ added in v1.1.0
type Bar struct { Volume int64 `protobuf:"varint,1,opt,name=volume,proto3" json:"volume,omitempty"` Weighted float64 `protobuf:"fixed64,2,opt,name=weighted,proto3" json:"weighted,omitempty"` Open float64 `protobuf:"fixed64,3,opt,name=open,proto3" json:"open,omitempty"` Close float64 `protobuf:"fixed64,4,opt,name=close,proto3" json:"close,omitempty"` High float64 `protobuf:"fixed64,5,opt,name=high,proto3" json:"high,omitempty"` Low float64 `protobuf:"fixed64,6,opt,name=low,proto3" json:"low,omitempty"` Number int32 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` Otc bool `protobuf:"varint,8,opt,name=otc,proto3" json:"otc,omitempty"` Timestamp *gopb.UnixTimestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Describes a single aggregated bar of data
func (*Bar) Descriptor
deprecated
added in
v1.1.0
func (*Bar) GetTimestamp ¶ added in v1.1.0
func (x *Bar) GetTimestamp() *gopb.UnixTimestamp
func (*Bar) GetWeighted ¶ added in v1.1.0
func (*Bar) ProtoMessage ¶ added in v1.1.0
func (*Bar) ProtoMessage()
func (*Bar) ProtoReflect ¶ added in v1.1.0
func (x *Bar) ProtoReflect() protoreflect.Message
type Client ¶
type Client struct { // The ID of the client, as recorded in the system. This value should be saved for later Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The domain for which the client is registered. This value may be used to deny access to certain resources Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // The type of the client. This value may be used to deny access to certain resources Type ClientType `protobuf:"varint,3,opt,name=type,proto3,enum=protos.frontend.data.ClientType" json:"type"` // contains filtered or unexported fields }
Describes a Quantum client. Note that this object does not include the secret which should be used to authenticate the client. That particular value will only be made available once when the client is created
func (*Client) Descriptor
deprecated
func (*Client) GetType ¶
func (x *Client) GetType() ClientType
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type ClientType ¶
type ClientType int32
Describes the type of the client, which will indicate how it should interact with the API
const ( ClientType_Invalid ClientType = 0 // Used when converting the enum from JSON to hold invalid values ClientType_Web ClientType = 1 // For web (in-browser) clients ClientType_CLI ClientType = 2 // For CLI clients ClientType_Other ClientType = 3 // For clients that do not fit into either type of client )
func (ClientType) Descriptor ¶
func (ClientType) Descriptor() protoreflect.EnumDescriptor
func (ClientType) Enum ¶
func (x ClientType) Enum() *ClientType
func (ClientType) EnumDescriptor
deprecated
func (ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientType.Descriptor instead.
func (ClientType) Number ¶
func (x ClientType) Number() protoreflect.EnumNumber
func (ClientType) String ¶
func (x ClientType) String() string
func (ClientType) Type ¶
func (ClientType) Type() protoreflect.EnumType
func (*ClientType) UnmarshalJSON ¶ added in v1.1.0
func (enum *ClientType) UnmarshalJSON(data []byte) error
UnmarshalJSON converts JSON data into a Data.ClientType
type User ¶
type User struct { // The email address that the user may use when logging in Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Describes a Quantum user. This object will not include any fields which will identify the user to our system. Instead, the user's ID will be extracted from the access token which is passed to authenticate them. This adds an extra layer of security to our system as the user is not allowed to know their own ID directly
func (*User) Descriptor
deprecated
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message