contracts

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_contracts_ws_auth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthIdentityConfig

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

func (*AuthIdentityConfig) Descriptor deprecated

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

Deprecated: Use AuthIdentityConfig.ProtoReflect.Descriptor instead.

func (*AuthIdentityConfig) GetConnectionId

func (x *AuthIdentityConfig) GetConnectionId() string

func (*AuthIdentityConfig) ProtoMessage

func (*AuthIdentityConfig) ProtoMessage()

func (*AuthIdentityConfig) ProtoReflect

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

func (*AuthIdentityConfig) Reset

func (x *AuthIdentityConfig) Reset()

func (*AuthIdentityConfig) String

func (x *AuthIdentityConfig) String() string

type AuthIdentityInput

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

func (*AuthIdentityInput) Descriptor deprecated

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

Deprecated: Use AuthIdentityInput.ProtoReflect.Descriptor instead.

func (*AuthIdentityInput) GetConnectionId

func (x *AuthIdentityInput) GetConnectionId() string

func (*AuthIdentityInput) ProtoMessage

func (*AuthIdentityInput) ProtoMessage()

func (*AuthIdentityInput) ProtoReflect

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

func (*AuthIdentityInput) Reset

func (x *AuthIdentityInput) Reset()

func (*AuthIdentityInput) String

func (x *AuthIdentityInput) String() string

type AuthIdentityOutput

type AuthIdentityOutput struct {
	PlayerId      string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Authenticated bool   `protobuf:"varint,2,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
	Error         string `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthIdentityOutput) Descriptor deprecated

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

Deprecated: Use AuthIdentityOutput.ProtoReflect.Descriptor instead.

func (*AuthIdentityOutput) GetAuthenticated

func (x *AuthIdentityOutput) GetAuthenticated() bool

func (*AuthIdentityOutput) GetError

func (x *AuthIdentityOutput) GetError() string

func (*AuthIdentityOutput) GetPlayerId

func (x *AuthIdentityOutput) GetPlayerId() string

func (*AuthIdentityOutput) ProtoMessage

func (*AuthIdentityOutput) ProtoMessage()

func (*AuthIdentityOutput) ProtoReflect

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

func (*AuthIdentityOutput) Reset

func (x *AuthIdentityOutput) Reset()

func (*AuthIdentityOutput) String

func (x *AuthIdentityOutput) String() string

type HMACAuthConfig

type HMACAuthConfig struct {
	SharedSecret string `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret,proto3" json:"shared_secret,omitempty"`
	ServerId     string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HMACAuthConfig) Descriptor deprecated

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

Deprecated: Use HMACAuthConfig.ProtoReflect.Descriptor instead.

func (*HMACAuthConfig) GetServerId

func (x *HMACAuthConfig) GetServerId() string

func (*HMACAuthConfig) GetSharedSecret

func (x *HMACAuthConfig) GetSharedSecret() string

func (*HMACAuthConfig) ProtoMessage

func (*HMACAuthConfig) ProtoMessage()

func (*HMACAuthConfig) ProtoReflect

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

func (*HMACAuthConfig) Reset

func (x *HMACAuthConfig) Reset()

func (*HMACAuthConfig) String

func (x *HMACAuthConfig) String() string

Jump to

Keyboard shortcuts

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