proto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocateSocket

func LocateSocket() (string, error)

func RegisterHudServer

func RegisterHudServer(s *grpc.Server, srv HudServer)

Types

type ConnectRequest

type ConnectRequest struct {
	TtyPath              string   `protobuf:"bytes,1,opt,name=tty_path,json=ttyPath,proto3" json:"tty_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectRequest) Descriptor

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

func (*ConnectRequest) GetTtyPath

func (m *ConnectRequest) GetTtyPath() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) Reset

func (m *ConnectRequest) Reset()

func (*ConnectRequest) String

func (m *ConnectRequest) String() string

func (*ConnectRequest) XXX_DiscardUnknown

func (m *ConnectRequest) XXX_DiscardUnknown()

func (*ConnectRequest) XXX_Marshal

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

func (*ConnectRequest) XXX_Merge

func (dst *ConnectRequest) XXX_Merge(src proto.Message)

func (*ConnectRequest) XXX_Size

func (m *ConnectRequest) XXX_Size() int

func (*ConnectRequest) XXX_Unmarshal

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

type DoneReply

type DoneReply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DoneReply) Descriptor

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

func (*DoneReply) ProtoMessage

func (*DoneReply) ProtoMessage()

func (*DoneReply) Reset

func (m *DoneReply) Reset()

func (*DoneReply) String

func (m *DoneReply) String() string

func (*DoneReply) XXX_DiscardUnknown

func (m *DoneReply) XXX_DiscardUnknown()

func (*DoneReply) XXX_Marshal

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

func (*DoneReply) XXX_Merge

func (dst *DoneReply) XXX_Merge(src proto.Message)

func (*DoneReply) XXX_Size

func (m *DoneReply) XXX_Size() int

func (*DoneReply) XXX_Unmarshal

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

type HudClient

type HudClient interface {
	ConnectHud(ctx context.Context, opts ...grpc.CallOption) (Hud_ConnectHudClient, error)
}

HudClient is the client API for Hud service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHudClient

func NewHudClient(cc *grpc.ClientConn) HudClient

type HudControl

type HudControl struct {
	// Types that are valid to be assigned to Control:
	//	*HudControl_Connect
	//	*HudControl_WindowChange
	Control              isHudControl_Control `protobuf_oneof:"control"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*HudControl) Descriptor

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

func (*HudControl) GetConnect

func (m *HudControl) GetConnect() *ConnectRequest

func (*HudControl) GetControl

func (m *HudControl) GetControl() isHudControl_Control

func (*HudControl) GetWindowChange

func (m *HudControl) GetWindowChange() *WindowChange

func (*HudControl) ProtoMessage

func (*HudControl) ProtoMessage()

func (*HudControl) Reset

func (m *HudControl) Reset()

func (*HudControl) String

func (m *HudControl) String() string

func (*HudControl) XXX_DiscardUnknown

func (m *HudControl) XXX_DiscardUnknown()

func (*HudControl) XXX_Marshal

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

func (*HudControl) XXX_Merge

func (dst *HudControl) XXX_Merge(src proto.Message)

func (*HudControl) XXX_OneofFuncs

func (*HudControl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*HudControl) XXX_Size

func (m *HudControl) XXX_Size() int

func (*HudControl) XXX_Unmarshal

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

type HudControl_Connect

type HudControl_Connect struct {
	Connect *ConnectRequest `protobuf:"bytes,1,opt,name=connect,proto3,oneof"`
}

type HudControl_WindowChange

type HudControl_WindowChange struct {
	WindowChange *WindowChange `protobuf:"bytes,2,opt,name=window_change,json=windowChange,proto3,oneof"`
}

type HudServer

type HudServer interface {
	ConnectHud(Hud_ConnectHudServer) error
}

HudServer is the server API for Hud service.

type Hud_ConnectHudClient

type Hud_ConnectHudClient interface {
	Send(*HudControl) error
	CloseAndRecv() (*DoneReply, error)
	grpc.ClientStream
}

type Hud_ConnectHudServer

type Hud_ConnectHudServer interface {
	SendAndClose(*DoneReply) error
	Recv() (*HudControl, error)
	grpc.ServerStream
}

type WindowChange

type WindowChange struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WindowChange) Descriptor

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

func (*WindowChange) ProtoMessage

func (*WindowChange) ProtoMessage()

func (*WindowChange) Reset

func (m *WindowChange) Reset()

func (*WindowChange) String

func (m *WindowChange) String() string

func (*WindowChange) XXX_DiscardUnknown

func (m *WindowChange) XXX_DiscardUnknown()

func (*WindowChange) XXX_Marshal

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

func (*WindowChange) XXX_Merge

func (dst *WindowChange) XXX_Merge(src proto.Message)

func (*WindowChange) XXX_Size

func (m *WindowChange) XXX_Size() int

func (*WindowChange) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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