metrics

package module
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 5 Imported by: 1

README

Mysterium metrics

This repo houses the metrics related code.

Setup protoc tools

Metrics are described in Protobuf message format. Make sure you have protoc compiler and protoc-gen-go tools installed and available in your $PATH. Installation guide can be found here

After protoc compiler is installed run make install-protoc-gen-go which will install fixed version of protoc-gen-go compatible with node.

Compile to go

  1. Update metrics.proto contracts according to your needs.

  2. Compile proto to go.

make compile-proto

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_nodeMetrics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Batch

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

func (*Batch) Descriptor deprecated

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

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetEvents

func (x *Batch) GetEvents() []*Event

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect added in v0.0.4

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

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

type ConnectionEvent added in v0.0.6

type ConnectionEvent struct {
	ServiceType   string `protobuf:"bytes,1,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	HermesId      string `protobuf:"bytes,2,opt,name=hermes_id,json=hermesId,proto3" json:"hermes_id,omitempty"`
	RemoteCountry string `protobuf:"bytes,3,opt,name=remote_country,json=remoteCountry,proto3" json:"remote_country,omitempty"`
	Error         string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	Stage         string `protobuf:"bytes,5,opt,name=stage,proto3" json:"stage,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionEvent) Descriptor deprecated added in v0.0.6

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

Deprecated: Use ConnectionEvent.ProtoReflect.Descriptor instead.

func (*ConnectionEvent) GetError added in v0.0.6

func (x *ConnectionEvent) GetError() string

func (*ConnectionEvent) GetHermesId added in v0.0.6

func (x *ConnectionEvent) GetHermesId() string

func (*ConnectionEvent) GetRemoteCountry added in v0.0.8

func (x *ConnectionEvent) GetRemoteCountry() string

func (*ConnectionEvent) GetServiceType added in v0.0.6

func (x *ConnectionEvent) GetServiceType() string

func (*ConnectionEvent) GetStage added in v0.0.6

func (x *ConnectionEvent) GetStage() string

func (*ConnectionEvent) ProtoMessage added in v0.0.6

func (*ConnectionEvent) ProtoMessage()

func (*ConnectionEvent) ProtoReflect added in v0.0.6

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

func (*ConnectionEvent) Reset added in v0.0.6

func (x *ConnectionEvent) Reset()

func (*ConnectionEvent) String added in v0.0.6

func (x *ConnectionEvent) String() string

type Event

type Event struct {
	Signature  string          `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	TargetId   string          `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	IsProvider bool            `protobuf:"varint,3,opt,name=is_provider,json=isProvider,proto3" json:"is_provider,omitempty"`
	Version    *VersionPayload `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Country    string          `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"`
	// Types that are assignable to Metric:
	//	*Event_SessionEventPayload
	//	*Event_SessionStatisticsPayload
	//	*Event_ProposalPayload
	//	*Event_SessionTokensPayload
	//	*Event_SessionTracePayload
	//	*Event_RegistrationPayload
	//	*Event_NatMappingPayload
	//	*Event_ConnectionEvent
	//	*Event_PingEvent
	//	*Event_ResidentCountry
	//	*Event_StunDetection
	//	*Event_NatMethod
	Metric isEvent_Metric `protobuf_oneof:"metric"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetConnectionEvent added in v0.0.6

func (x *Event) GetConnectionEvent() *ConnectionEvent

func (*Event) GetCountry added in v0.0.8

func (x *Event) GetCountry() string

func (*Event) GetIsProvider

func (x *Event) GetIsProvider() bool

func (*Event) GetMetric

func (m *Event) GetMetric() isEvent_Metric

func (*Event) GetNatMappingPayload added in v0.0.5

func (x *Event) GetNatMappingPayload() *NatMappingPayload

func (*Event) GetNatMethod added in v0.0.16

func (x *Event) GetNatMethod() *NatMethodResult

func (*Event) GetPingEvent added in v0.0.11

func (x *Event) GetPingEvent() *PingPayload

func (*Event) GetProposalPayload

func (x *Event) GetProposalPayload() *ProposalPayload

func (*Event) GetRegistrationPayload added in v0.0.5

func (x *Event) GetRegistrationPayload() *RegistrationPayload

func (*Event) GetResidentCountry added in v0.0.13

func (x *Event) GetResidentCountry() *ResidentCountryPayload

func (*Event) GetSessionEventPayload

func (x *Event) GetSessionEventPayload() *SessionEventPayload

func (*Event) GetSessionStatisticsPayload

func (x *Event) GetSessionStatisticsPayload() *SessionStatisticsPayload

func (*Event) GetSessionTokensPayload added in v0.0.2

func (x *Event) GetSessionTokensPayload() *SessionTokensPayload

func (*Event) GetSessionTracePayload added in v0.0.4

func (x *Event) GetSessionTracePayload() *SessionTracePayload

func (*Event) GetSignature

func (x *Event) GetSignature() string

func (*Event) GetStunDetection added in v0.0.15

func (x *Event) GetStunDetection() *STUNDetectionPayload

func (*Event) GetTargetId

func (x *Event) GetTargetId() string

func (*Event) GetVersion added in v0.0.10

func (x *Event) GetVersion() *VersionPayload

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect added in v0.0.4

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_ConnectionEvent added in v0.0.6

type Event_ConnectionEvent struct {
	ConnectionEvent *ConnectionEvent `protobuf:"bytes,13,opt,name=connection_event,json=connectionEvent,proto3,oneof"`
}

type Event_NatMappingPayload added in v0.0.5

type Event_NatMappingPayload struct {
	NatMappingPayload *NatMappingPayload `protobuf:"bytes,12,opt,name=nat_mapping_payload,json=natMappingPayload,proto3,oneof"`
}

type Event_NatMethod added in v0.0.16

type Event_NatMethod struct {
	NatMethod *NatMethodResult `protobuf:"bytes,17,opt,name=nat_method,json=natMethod,proto3,oneof"`
}

type Event_PingEvent added in v0.0.11

type Event_PingEvent struct {
	PingEvent *PingPayload `protobuf:"bytes,14,opt,name=ping_event,json=pingEvent,proto3,oneof"`
}

type Event_ProposalPayload

type Event_ProposalPayload struct {
	ProposalPayload *ProposalPayload `protobuf:"bytes,8,opt,name=proposal_payload,json=proposalPayload,proto3,oneof"`
}

type Event_RegistrationPayload added in v0.0.5

type Event_RegistrationPayload struct {
	RegistrationPayload *RegistrationPayload `protobuf:"bytes,11,opt,name=registration_payload,json=registrationPayload,proto3,oneof"`
}

type Event_ResidentCountry added in v0.0.13

type Event_ResidentCountry struct {
	ResidentCountry *ResidentCountryPayload `protobuf:"bytes,15,opt,name=resident_country,json=residentCountry,proto3,oneof"`
}

type Event_SessionEventPayload

type Event_SessionEventPayload struct {
	SessionEventPayload *SessionEventPayload `protobuf:"bytes,6,opt,name=session_event_payload,json=sessionEventPayload,proto3,oneof"`
}

type Event_SessionStatisticsPayload

type Event_SessionStatisticsPayload struct {
	SessionStatisticsPayload *SessionStatisticsPayload `protobuf:"bytes,7,opt,name=session_statistics_payload,json=sessionStatisticsPayload,proto3,oneof"`
}

type Event_SessionTokensPayload added in v0.0.2

type Event_SessionTokensPayload struct {
	SessionTokensPayload *SessionTokensPayload `protobuf:"bytes,9,opt,name=session_tokens_payload,json=sessionTokensPayload,proto3,oneof"`
}

type Event_SessionTracePayload added in v0.0.4

type Event_SessionTracePayload struct {
	SessionTracePayload *SessionTracePayload `protobuf:"bytes,10,opt,name=session_trace_payload,json=sessionTracePayload,proto3,oneof"`
}

type Event_StunDetection added in v0.0.15

type Event_StunDetection struct {
	StunDetection *STUNDetectionPayload `protobuf:"bytes,16,opt,name=stun_detection,json=stunDetection,proto3,oneof"`
}

type NatMappingPayload added in v0.0.5

type NatMappingPayload struct {
	Err        string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	Stage      string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"`
	Successful bool   `protobuf:"varint,3,opt,name=successful,proto3" json:"successful,omitempty"`
	// contains filtered or unexported fields
}

func (*NatMappingPayload) Descriptor deprecated added in v0.0.5

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

Deprecated: Use NatMappingPayload.ProtoReflect.Descriptor instead.

func (*NatMappingPayload) GetErr added in v0.0.5

func (x *NatMappingPayload) GetErr() string

func (*NatMappingPayload) GetStage added in v0.0.5

func (x *NatMappingPayload) GetStage() string

func (*NatMappingPayload) GetSuccessful added in v0.0.5

func (x *NatMappingPayload) GetSuccessful() bool

func (*NatMappingPayload) ProtoMessage added in v0.0.5

func (*NatMappingPayload) ProtoMessage()

func (*NatMappingPayload) ProtoReflect added in v0.0.5

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

func (*NatMappingPayload) Reset added in v0.0.5

func (x *NatMappingPayload) Reset()

func (*NatMappingPayload) String added in v0.0.5

func (x *NatMappingPayload) String() string

type NatMethodResult added in v0.0.16

type NatMethodResult struct {
	Method  string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Success bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*NatMethodResult) Descriptor deprecated added in v0.0.16

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

Deprecated: Use NatMethodResult.ProtoReflect.Descriptor instead.

func (*NatMethodResult) GetMethod added in v0.0.16

func (x *NatMethodResult) GetMethod() string

func (*NatMethodResult) GetSuccess added in v0.0.16

func (x *NatMethodResult) GetSuccess() bool

func (*NatMethodResult) ProtoMessage added in v0.0.16

func (*NatMethodResult) ProtoMessage()

func (*NatMethodResult) ProtoReflect added in v0.0.16

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

func (*NatMethodResult) Reset added in v0.0.16

func (x *NatMethodResult) Reset()

func (*NatMethodResult) String added in v0.0.16

func (x *NatMethodResult) String() string

type PingPayload added in v0.0.11

type PingPayload struct {
	SessionId     string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RemoteCountry string `protobuf:"bytes,3,opt,name=remote_country,json=remoteCountry,proto3" json:"remote_country,omitempty"`
	Duration      uint64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*PingPayload) Descriptor deprecated added in v0.0.11

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

Deprecated: Use PingPayload.ProtoReflect.Descriptor instead.

func (*PingPayload) GetDuration added in v0.0.11

func (x *PingPayload) GetDuration() uint64

func (*PingPayload) GetRemoteCountry added in v0.0.11

func (x *PingPayload) GetRemoteCountry() string

func (*PingPayload) GetSessionId added in v0.0.11

func (x *PingPayload) GetSessionId() string

func (*PingPayload) ProtoMessage added in v0.0.11

func (*PingPayload) ProtoMessage()

func (*PingPayload) ProtoReflect added in v0.0.11

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

func (*PingPayload) Reset added in v0.0.11

func (x *PingPayload) Reset()

func (*PingPayload) String added in v0.0.11

func (x *PingPayload) String() string

type ProposalPayload

type ProposalPayload struct {
	ServiceType string `protobuf:"bytes,1,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	NodeType    string `protobuf:"bytes,2,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"`
	VendorId    string `protobuf:"bytes,3,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalPayload) Descriptor deprecated

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

Deprecated: Use ProposalPayload.ProtoReflect.Descriptor instead.

func (*ProposalPayload) GetNodeType

func (x *ProposalPayload) GetNodeType() string

func (*ProposalPayload) GetServiceType

func (x *ProposalPayload) GetServiceType() string

func (*ProposalPayload) GetVendorId added in v0.0.18

func (x *ProposalPayload) GetVendorId() string

func (*ProposalPayload) ProtoMessage

func (*ProposalPayload) ProtoMessage()

func (*ProposalPayload) ProtoReflect added in v0.0.4

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

func (*ProposalPayload) Reset

func (x *ProposalPayload) Reset()

func (*ProposalPayload) String

func (x *ProposalPayload) String() string

type RegistrationPayload added in v0.0.5

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

func (*RegistrationPayload) Descriptor deprecated added in v0.0.5

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

Deprecated: Use RegistrationPayload.ProtoReflect.Descriptor instead.

func (*RegistrationPayload) GetStatus added in v0.0.5

func (x *RegistrationPayload) GetStatus() string

func (*RegistrationPayload) ProtoMessage added in v0.0.5

func (*RegistrationPayload) ProtoMessage()

func (*RegistrationPayload) ProtoReflect added in v0.0.5

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

func (*RegistrationPayload) Reset added in v0.0.5

func (x *RegistrationPayload) Reset()

func (*RegistrationPayload) String added in v0.0.5

func (x *RegistrationPayload) String() string

type ResidentCountryPayload added in v0.0.13

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

func (*ResidentCountryPayload) Descriptor deprecated added in v0.0.13

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

Deprecated: Use ResidentCountryPayload.ProtoReflect.Descriptor instead.

func (*ResidentCountryPayload) GetCountry added in v0.0.13

func (x *ResidentCountryPayload) GetCountry() string

func (*ResidentCountryPayload) ProtoMessage added in v0.0.13

func (*ResidentCountryPayload) ProtoMessage()

func (*ResidentCountryPayload) ProtoReflect added in v0.0.13

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

func (*ResidentCountryPayload) Reset added in v0.0.13

func (x *ResidentCountryPayload) Reset()

func (*ResidentCountryPayload) String added in v0.0.13

func (x *ResidentCountryPayload) String() string

type STUNDetectionPayload added in v0.0.15

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

func (*STUNDetectionPayload) Descriptor deprecated added in v0.0.15

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

Deprecated: Use STUNDetectionPayload.ProtoReflect.Descriptor instead.

func (*STUNDetectionPayload) GetType added in v0.0.15

func (x *STUNDetectionPayload) GetType() string

func (*STUNDetectionPayload) ProtoMessage added in v0.0.15

func (*STUNDetectionPayload) ProtoMessage()

func (*STUNDetectionPayload) ProtoReflect added in v0.0.15

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

func (*STUNDetectionPayload) Reset added in v0.0.15

func (x *STUNDetectionPayload) Reset()

func (*STUNDetectionPayload) String added in v0.0.15

func (x *STUNDetectionPayload) String() string

type Sender

type Sender struct {
}

Sender is responsible for sending the metrics

func (*Sender) Send

func (s *Sender) Send(e Event) error

Send sends the metrics

type SessionEventPayload

type SessionEventPayload struct {
	Session *SessionPayload `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Event   string          `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionEventPayload) Descriptor deprecated

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

Deprecated: Use SessionEventPayload.ProtoReflect.Descriptor instead.

func (*SessionEventPayload) GetEvent

func (x *SessionEventPayload) GetEvent() string

func (*SessionEventPayload) GetSession

func (x *SessionEventPayload) GetSession() *SessionPayload

func (*SessionEventPayload) ProtoMessage

func (*SessionEventPayload) ProtoMessage()

func (*SessionEventPayload) ProtoReflect added in v0.0.4

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

func (*SessionEventPayload) Reset

func (x *SessionEventPayload) Reset()

func (*SessionEventPayload) String

func (x *SessionEventPayload) String() string

type SessionPayload

type SessionPayload struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServiceType   string `protobuf:"bytes,2,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	RemoteCountry string `protobuf:"bytes,3,opt,name=remote_country,json=remoteCountry,proto3" json:"remote_country,omitempty"`
	HermesId      string `protobuf:"bytes,4,opt,name=hermes_id,json=hermesId,proto3" json:"hermes_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionPayload) Descriptor deprecated

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

Deprecated: Use SessionPayload.ProtoReflect.Descriptor instead.

func (*SessionPayload) GetHermesId added in v0.0.7

func (x *SessionPayload) GetHermesId() string

func (*SessionPayload) GetId

func (x *SessionPayload) GetId() string

func (*SessionPayload) GetRemoteCountry added in v0.0.8

func (x *SessionPayload) GetRemoteCountry() string

func (*SessionPayload) GetServiceType

func (x *SessionPayload) GetServiceType() string

func (*SessionPayload) ProtoMessage

func (*SessionPayload) ProtoMessage()

func (*SessionPayload) ProtoReflect added in v0.0.4

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

func (*SessionPayload) Reset

func (x *SessionPayload) Reset()

func (*SessionPayload) String

func (x *SessionPayload) String() string

type SessionStatisticsPayload

type SessionStatisticsPayload struct {
	Session       *SessionPayload `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	BytesSent     uint64          `protobuf:"varint,2,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	BytesReceived uint64          `protobuf:"varint,3,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"`
	Duration      uint64          `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStatisticsPayload) Descriptor deprecated

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

Deprecated: Use SessionStatisticsPayload.ProtoReflect.Descriptor instead.

func (*SessionStatisticsPayload) GetBytesReceived

func (x *SessionStatisticsPayload) GetBytesReceived() uint64

func (*SessionStatisticsPayload) GetBytesSent

func (x *SessionStatisticsPayload) GetBytesSent() uint64

func (*SessionStatisticsPayload) GetDuration added in v0.0.12

func (x *SessionStatisticsPayload) GetDuration() uint64

func (*SessionStatisticsPayload) GetSession

func (x *SessionStatisticsPayload) GetSession() *SessionPayload

func (*SessionStatisticsPayload) ProtoMessage

func (*SessionStatisticsPayload) ProtoMessage()

func (*SessionStatisticsPayload) ProtoReflect added in v0.0.4

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

func (*SessionStatisticsPayload) Reset

func (x *SessionStatisticsPayload) Reset()

func (*SessionStatisticsPayload) String

func (x *SessionStatisticsPayload) String() string

type SessionTokensPayload added in v0.0.2

type SessionTokensPayload struct {
	Session *SessionPayload `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Tokens  string          `protobuf:"bytes,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionTokensPayload) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SessionTokensPayload.ProtoReflect.Descriptor instead.

func (*SessionTokensPayload) GetSession added in v0.0.2

func (x *SessionTokensPayload) GetSession() *SessionPayload

func (*SessionTokensPayload) GetTokens added in v0.0.2

func (x *SessionTokensPayload) GetTokens() string

func (*SessionTokensPayload) ProtoMessage added in v0.0.2

func (*SessionTokensPayload) ProtoMessage()

func (*SessionTokensPayload) ProtoReflect added in v0.0.4

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

func (*SessionTokensPayload) Reset added in v0.0.2

func (x *SessionTokensPayload) Reset()

func (*SessionTokensPayload) String added in v0.0.2

func (x *SessionTokensPayload) String() string

type SessionTracePayload added in v0.0.4

type SessionTracePayload struct {
	Session  *SessionPayload `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Duration uint64          `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Stage    string          `protobuf:"bytes,3,opt,name=stage,proto3" json:"stage,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionTracePayload) Descriptor deprecated added in v0.0.4

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

Deprecated: Use SessionTracePayload.ProtoReflect.Descriptor instead.

func (*SessionTracePayload) GetDuration added in v0.0.4

func (x *SessionTracePayload) GetDuration() uint64

func (*SessionTracePayload) GetSession added in v0.0.4

func (x *SessionTracePayload) GetSession() *SessionPayload

func (*SessionTracePayload) GetStage added in v0.0.4

func (x *SessionTracePayload) GetStage() string

func (*SessionTracePayload) ProtoMessage added in v0.0.4

func (*SessionTracePayload) ProtoMessage()

func (*SessionTracePayload) ProtoReflect added in v0.0.4

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

func (*SessionTracePayload) Reset added in v0.0.4

func (x *SessionTracePayload) Reset()

func (*SessionTracePayload) String added in v0.0.4

func (x *SessionTracePayload) String() string

type SignedBatch added in v0.0.19

type SignedBatch struct {
	Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Batch     *Batch `protobuf:"bytes,2,opt,name=batch,proto3" json:"batch,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedBatch) Descriptor deprecated added in v0.0.19

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

Deprecated: Use SignedBatch.ProtoReflect.Descriptor instead.

func (*SignedBatch) GetBatch added in v0.0.19

func (x *SignedBatch) GetBatch() *Batch

func (*SignedBatch) GetSignature added in v0.0.19

func (x *SignedBatch) GetSignature() string

func (*SignedBatch) ProtoMessage added in v0.0.19

func (*SignedBatch) ProtoMessage()

func (*SignedBatch) ProtoReflect added in v0.0.19

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

func (*SignedBatch) Reset added in v0.0.19

func (x *SignedBatch) Reset()

func (*SignedBatch) String added in v0.0.19

func (x *SignedBatch) String() string

type VersionPayload

type VersionPayload struct {
	Version         string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Os              string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
	Arch            string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	LauncherVersion string `protobuf:"bytes,4,opt,name=launcher_version,json=launcherVersion,proto3" json:"launcher_version,omitempty"`
	HostOs          string `protobuf:"bytes,5,opt,name=host_os,json=hostOs,proto3" json:"host_os,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionPayload) Descriptor deprecated

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

Deprecated: Use VersionPayload.ProtoReflect.Descriptor instead.

func (*VersionPayload) GetArch

func (x *VersionPayload) GetArch() string

func (*VersionPayload) GetHostOs added in v0.0.17

func (x *VersionPayload) GetHostOs() string

func (*VersionPayload) GetLauncherVersion added in v0.0.17

func (x *VersionPayload) GetLauncherVersion() string

func (*VersionPayload) GetOs

func (x *VersionPayload) GetOs() string

func (*VersionPayload) GetVersion

func (x *VersionPayload) GetVersion() string

func (*VersionPayload) ProtoMessage

func (*VersionPayload) ProtoMessage()

func (*VersionPayload) ProtoReflect added in v0.0.4

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

func (*VersionPayload) Reset

func (x *VersionPayload) Reset()

func (*VersionPayload) String

func (x *VersionPayload) String() string

Jump to

Keyboard shortcuts

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