domain

package
v0.0.0-...-1f2d2fe Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IncomingEvent_NONE       = domain.IncomingEvent_NONE
	IncomingEvent_CONNECT    = domain.IncomingEvent_CONNECT
	IncomingEvent_DISCONNECT = domain.IncomingEvent_DISCONNECT
)

Variables

View Source
var (
	ErrInvalidLengthFlyff        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFlyff          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFlyff = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CharacterProps

type CharacterProps struct {
	ConnId string `protobuf:"bytes,1,opt,name=conn_id,json=connId,proto3" json:"conn_id,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
}

func (*CharacterProps) Descriptor

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

func (*CharacterProps) Equal

func (this *CharacterProps) Equal(that interface{}) bool

func (*CharacterProps) GetConnId

func (m *CharacterProps) GetConnId() string

func (*CharacterProps) GetId

func (m *CharacterProps) GetId() string

func (*CharacterProps) GoString

func (this *CharacterProps) GoString() string

func (*CharacterProps) Marshal

func (m *CharacterProps) Marshal() (dAtA []byte, err error)

func (*CharacterProps) MarshalTo

func (m *CharacterProps) MarshalTo(dAtA []byte) (int, error)

func (*CharacterProps) MarshalToSizedBuffer

func (m *CharacterProps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CharacterProps) ProtoMessage

func (*CharacterProps) ProtoMessage()

func (*CharacterProps) Reset

func (m *CharacterProps) Reset()

func (*CharacterProps) Size

func (m *CharacterProps) Size() (n int)

func (*CharacterProps) String

func (this *CharacterProps) String() string

func (*CharacterProps) Unmarshal

func (m *CharacterProps) Unmarshal(dAtA []byte) error

func (*CharacterProps) XXX_DiscardUnknown

func (m *CharacterProps) XXX_DiscardUnknown()

func (*CharacterProps) XXX_Marshal

func (m *CharacterProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CharacterProps) XXX_Merge

func (m *CharacterProps) XXX_Merge(src proto.Message)

func (*CharacterProps) XXX_Size

func (m *CharacterProps) XXX_Size() int

func (*CharacterProps) XXX_Unmarshal

func (m *CharacterProps) XXX_Unmarshal(b []byte) error

type CharacterState

type CharacterState struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

func (*CharacterState) Descriptor

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

func (*CharacterState) Equal

func (this *CharacterState) Equal(that interface{}) bool

func (*CharacterState) GetName

func (m *CharacterState) GetName() string

func (*CharacterState) GoString

func (this *CharacterState) GoString() string

func (*CharacterState) Marshal

func (m *CharacterState) Marshal() (dAtA []byte, err error)

func (*CharacterState) MarshalTo

func (m *CharacterState) MarshalTo(dAtA []byte) (int, error)

func (*CharacterState) MarshalToSizedBuffer

func (m *CharacterState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CharacterState) ProtoMessage

func (*CharacterState) ProtoMessage()

func (*CharacterState) Reset

func (m *CharacterState) Reset()

func (*CharacterState) Size

func (m *CharacterState) Size() (n int)

func (*CharacterState) String

func (this *CharacterState) String() string

func (*CharacterState) Unmarshal

func (m *CharacterState) Unmarshal(dAtA []byte) error

func (*CharacterState) XXX_DiscardUnknown

func (m *CharacterState) XXX_DiscardUnknown()

func (*CharacterState) XXX_Marshal

func (m *CharacterState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CharacterState) XXX_Merge

func (m *CharacterState) XXX_Merge(src proto.Message)

func (*CharacterState) XXX_Size

func (m *CharacterState) XXX_Size() int

func (*CharacterState) XXX_Unmarshal

func (m *CharacterState) XXX_Unmarshal(b []byte) error

type ConnectionsRepository

type ConnectionsRepository interface {
	Get(connId string) (*actor.PID, error)
	Set(connId string, pid *actor.PID) error
	DelPid(pid *actor.PID) error
	DelConn(connId string) error
}

type IncomingEvent

type IncomingEvent = domain.IncomingEvent

type OutgoingEvent

type OutgoingEvent = domain.OutgoingEvent

type RelayInterface

type RelayInterface interface {
	Receive(ctx context.Context) error
}

type RelayPublisher

type RelayPublisher interface {
	SendTo(ctx context.Context, data []byte, clients ...string) error
}

Jump to

Keyboard shortcuts

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