browserrpc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Notifications_Notify_FullMethodName                     = "/browser.Notifications/Notify"
	Notifications_NotifyOnce_FullMethodName                 = "/browser.Notifications/NotifyOnce"
	Notifications_UpdateNotificationProgress_FullMethodName = "/browser.Notifications/UpdateNotificationProgress"
)
View Source
const (
	WindowManager_Focus_FullMethodName       = "/browser.WindowManager/Focus"
	WindowManager_Split_FullMethodName       = "/browser.WindowManager/Split"
	WindowManager_Bar_FullMethodName         = "/browser.WindowManager/Bar"
	WindowManager_Floating_FullMethodName    = "/browser.WindowManager/Floating"
	WindowManager_Tab_FullMethodName         = "/browser.WindowManager/Tab"
	WindowManager_SetContent_FullMethodName  = "/browser.WindowManager/SetContent"
	WindowManager_CloseWindow_FullMethodName = "/browser.WindowManager/CloseWindow"
)
View Source
const (
	EventPublisher_Publish_FullMethodName = "/browser.EventPublisher/Publish"
)
View Source
const (
	Floating_Dimensions_FullMethodName = "/browser.Floating/Dimensions"
)
View Source
const (
	ResourceOpener_Open_FullMethodName = "/browser.ResourceOpener/Open"
)

Variables

View Source
var (
	Orientation_name = map[int32]string{
		0: "Default",
		1: "Top",
		2: "Bottom",
		3: "Left",
		4: "Right",
	}
	Orientation_value = map[string]int32{
		"Default": 0,
		"Top":     1,
		"Bottom":  2,
		"Left":    3,
		"Right":   4,
	}
)

Enum value maps for Orientation.

View Source
var (
	BarRequest_Frame_name = map[int32]string{
		0: "Default",
		1: "Always",
		2: "Never",
	}
	BarRequest_Frame_value = map[string]int32{
		"Default": 0,
		"Always":  1,
		"Never":   2,
	}
)

Enum value maps for BarRequest_Frame.

View Source
var EventPublisher_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "browser.EventPublisher",
	HandlerType: (*EventPublisherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Publish",
			Handler:    _EventPublisher_Publish_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "browserrpc/browser.proto",
}

EventPublisher_ServiceDesc is the grpc.ServiceDesc for EventPublisher service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_browserrpc_browser_proto protoreflect.FileDescriptor
View Source
var Floating_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "browser.Floating",
	HandlerType: (*FloatingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Dimensions",
			Handler:    _Floating_Dimensions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "browserrpc/browser.proto",
}

Floating_ServiceDesc is the grpc.ServiceDesc for Floating service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Notifications_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "browser.Notifications",
	HandlerType: (*NotificationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Notify",
			Handler:    _Notifications_Notify_Handler,
		},
		{
			MethodName: "NotifyOnce",
			Handler:    _Notifications_NotifyOnce_Handler,
		},
		{
			MethodName: "UpdateNotificationProgress",
			Handler:    _Notifications_UpdateNotificationProgress_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "browserrpc/browser.proto",
}

Notifications_ServiceDesc is the grpc.ServiceDesc for Notifications service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourceOpener_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "browser.ResourceOpener",
	HandlerType: (*ResourceOpenerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Open",
			Handler:    _ResourceOpener_Open_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "browserrpc/browser.proto",
}

ResourceOpener_ServiceDesc is the grpc.ServiceDesc for ResourceOpener service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WindowManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "browser.WindowManager",
	HandlerType: (*WindowManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Focus",
			Handler:    _WindowManager_Focus_Handler,
		},
		{
			MethodName: "CloseWindow",
			Handler:    _WindowManager_CloseWindow_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Split",
			Handler:       _WindowManager_Split_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Bar",
			Handler:       _WindowManager_Bar_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Floating",
			Handler:       _WindowManager_Floating_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Tab",
			Handler:       _WindowManager_Tab_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SetContent",
			Handler:       _WindowManager_SetContent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "browserrpc/browser.proto",
}

WindowManager_ServiceDesc is the grpc.ServiceDesc for WindowManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func NewWindow

func NewWindow(windowID uint64) browserapi.Window

NewWindow returns a browserapi.Window that represents the window with the given ID.

func RegisterEventPublisherServer

func RegisterEventPublisherServer(s grpc.ServiceRegistrar, srv EventPublisherServer)

func RegisterFloatingServer

func RegisterFloatingServer(s grpc.ServiceRegistrar, srv FloatingServer)

func RegisterNotificationsServer

func RegisterNotificationsServer(s grpc.ServiceRegistrar, srv NotificationsServer)

func RegisterResourceOpenerServer

func RegisterResourceOpenerServer(s grpc.ServiceRegistrar, srv ResourceOpenerServer)

func RegisterWindowManagerServer

func RegisterWindowManagerServer(s grpc.ServiceRegistrar, srv WindowManagerServer)

Types

type BarMessage

type BarMessage struct {
	Type       handlerrpc.MessageType               `protobuf:"varint,1,opt,name=type,proto3,enum=handler.MessageType" json:"type,omitempty"`
	Draw       *handlerrpc.DrawStreamResponse       `protobuf:"bytes,2,opt,name=draw,proto3" json:"draw,omitempty"`
	Handle     *handlerrpc.HandleStreamResponse     `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
	Close      *handlerrpc.CloseStreamResponse      `protobuf:"bytes,5,opt,name=close,proto3" json:"close,omitempty"`
	Cursor     *handlerrpc.CursorStreamResponse     `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Selection  *handlerrpc.SelectionStreamResponse  `protobuf:"bytes,7,opt,name=selection,proto3" json:"selection,omitempty"`
	Dimensions *handlerrpc.DimensionsStreamResponse `protobuf:"bytes,8,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	Request    *BarRequest                          `protobuf:"bytes,10,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*BarMessage) Descriptor deprecated

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

Deprecated: Use BarMessage.ProtoReflect.Descriptor instead.

func (*BarMessage) GetClose

func (x *BarMessage) GetClose() *handlerrpc.CloseStreamResponse

func (*BarMessage) GetCursor

func (x *BarMessage) GetCursor() *handlerrpc.CursorStreamResponse

func (*BarMessage) GetDimensions

func (x *BarMessage) GetDimensions() *handlerrpc.DimensionsStreamResponse

func (*BarMessage) GetDraw

func (*BarMessage) GetHandle

func (x *BarMessage) GetHandle() *handlerrpc.HandleStreamResponse

func (*BarMessage) GetRequest

func (x *BarMessage) GetRequest() *BarRequest

func (*BarMessage) GetSelection

func (x *BarMessage) GetSelection() *handlerrpc.SelectionStreamResponse

func (*BarMessage) GetType

func (x *BarMessage) GetType() handlerrpc.MessageType

func (*BarMessage) ProtoMessage

func (*BarMessage) ProtoMessage()

func (*BarMessage) ProtoReflect

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

func (*BarMessage) Reset

func (x *BarMessage) Reset()

func (*BarMessage) SetClose

func (m *BarMessage) SetClose(r *handlerrpc.CloseStreamResponse)

SetClose satisfies handlerrpc.StreamMessage.

func (*BarMessage) SetCursor

func (m *BarMessage) SetCursor(r *handlerrpc.CursorStreamResponse)

SetCursor satisfies handlerrpc.StreamMessage.

func (*BarMessage) SetDimensions

func (m *BarMessage) SetDimensions(r *handlerrpc.DimensionsStreamResponse)

SetDimensions satisfies handlerrpc.StreamMessage.

func (*BarMessage) SetDraw

func (m *BarMessage) SetDraw(r *handlerrpc.DrawStreamResponse)

SetDraw satisfies handlerrpc.StreamMessage.

func (*BarMessage) SetHandle

func (m *BarMessage) SetHandle(r *handlerrpc.HandleStreamResponse)

SetHandle satisfies handlerrpc.StreamMessage.

func (*BarMessage) SetSelection

func (m *BarMessage) SetSelection(r *handlerrpc.SelectionStreamResponse)

SetSelection satisfies handlerrpc.StreamMessage.

func (*BarMessage) String

func (x *BarMessage) String() string

type BarRequest

type BarRequest struct {
	Orientation Orientation      `protobuf:"varint,1,opt,name=orientation,proto3,enum=browser.Orientation" json:"orientation,omitempty"`
	Size        uint32           `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Frame       BarRequest_Frame `protobuf:"varint,3,opt,name=frame,proto3,enum=browser.BarRequest_Frame" json:"frame,omitempty"`
	// contains filtered or unexported fields
}

func (*BarRequest) Descriptor deprecated

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

Deprecated: Use BarRequest.ProtoReflect.Descriptor instead.

func (*BarRequest) GetFrame

func (x *BarRequest) GetFrame() BarRequest_Frame

func (*BarRequest) GetOrientation

func (x *BarRequest) GetOrientation() Orientation

func (*BarRequest) GetSize

func (x *BarRequest) GetSize() uint32

func (*BarRequest) ProtoMessage

func (*BarRequest) ProtoMessage()

func (*BarRequest) ProtoReflect

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

func (*BarRequest) Reset

func (x *BarRequest) Reset()

func (*BarRequest) String

func (x *BarRequest) String() string

type BarRequest_Frame

type BarRequest_Frame int32
const (
	BarRequest_Default BarRequest_Frame = 0
	BarRequest_Always  BarRequest_Frame = 1
	BarRequest_Never   BarRequest_Frame = 2
)

func (BarRequest_Frame) Descriptor

func (BarRequest_Frame) Enum

func (BarRequest_Frame) EnumDescriptor deprecated

func (BarRequest_Frame) EnumDescriptor() ([]byte, []int)

Deprecated: Use BarRequest_Frame.Descriptor instead.

func (BarRequest_Frame) Number

func (BarRequest_Frame) String

func (x BarRequest_Frame) String() string

func (BarRequest_Frame) Type

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client satisfies Browser by talking to a browser server over RPC.

func NewClient

func NewClient(ctx context.Context, cc grpc.ClientConnInterface) *Client

NewClient allocates storage for a new Client and initializes it.

func (*Client) Bar

func (c *Client) Bar(config browserapi.BarConfig, h tui.Handler) error

Bar satisfies Browser.

func (*Client) Close

func (c *Client) Close() (err error)

Close closes all resources associated with this Client. This client should not be used after this method is called.

func (*Client) CloseWindow

func (c *Client) CloseWindow(win browserapi.Window) error

CloseWindow satisfies browserapi.Browser.

func (*Client) Floating

Floating satisfies browser.WindowManager

func (*Client) Focus

func (c *Client) Focus() (browserapi.Window, error)

Focus satisfies Browser.

func (*Client) Init

func (c *Client) Init(ctx context.Context, cc grpc.ClientConnInterface)

Init initializes this Client with the given client and parent context.

func (*Client) Interrupt

func (c *Client) Interrupt(ctx context.Context) error

Interrupt satisfies Browser.

func (*Client) Notify

func (c *Client) Notify(level browserapi.NotificationLevel, msg string, args ...interface{}) (
	string, error,
)

Notify satisfies Browser.

func (*Client) NotifyOnce

func (c *Client) NotifyOnce(level browserapi.NotificationLevel, msg string, args ...interface{}) (
	string, error,
)

NotifyOnce satisfies Browser.

func (*Client) Open

func (c *Client) Open(resource workspaceapi.URI) (browserapi.Handler, error)

Open satisfies Browser.

func (*Client) PublishEventNone

func (c *Client) PublishEventNone() error

PublishEventNone satisfies Browser.

func (*Client) SetWindowContent

func (c *Client) SetWindowContent(win browserapi.Window, h browserapi.Handler) error

SetWindowContent satisfies browserapi.Browser.

func (*Client) Split

Split satisfies Browser.

func (*Client) Tab

func (c *Client) Tab(
	uri workspaceapi.URI, icon rune, name string, h browserapi.Handler,
) (browserapi.Handler, error)

Tab satisfies browser.WindowManager

func (*Client) UpdateNotificationProgress

func (c *Client) UpdateNotificationProgress(
	id, message string, progress, total int64,
) error

UpdateNotificationProgress satisfies Browser.

type DimensionsRequest

type DimensionsRequest struct {
	// contains filtered or unexported fields
}

func (*DimensionsRequest) Descriptor deprecated

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

Deprecated: Use DimensionsRequest.ProtoReflect.Descriptor instead.

func (*DimensionsRequest) ProtoMessage

func (*DimensionsRequest) ProtoMessage()

func (*DimensionsRequest) ProtoReflect

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

func (*DimensionsRequest) Reset

func (x *DimensionsRequest) Reset()

func (*DimensionsRequest) String

func (x *DimensionsRequest) String() string

type DimensionsResponse

type DimensionsResponse struct {
	Width  uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
	Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*DimensionsResponse) Descriptor deprecated

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

Deprecated: Use DimensionsResponse.ProtoReflect.Descriptor instead.

func (*DimensionsResponse) GetHeight

func (x *DimensionsResponse) GetHeight() uint32

func (*DimensionsResponse) GetWidth

func (x *DimensionsResponse) GetWidth() uint32

func (*DimensionsResponse) ProtoMessage

func (*DimensionsResponse) ProtoMessage()

func (*DimensionsResponse) ProtoReflect

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

func (*DimensionsResponse) Reset

func (x *DimensionsResponse) Reset()

func (*DimensionsResponse) String

func (x *DimensionsResponse) String() string

type EventPublisherClient

type EventPublisherClient interface {
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error)
}

EventPublisherClient is the client API for EventPublisher service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EventPublisherServer

type EventPublisherServer interface {
	Publish(context.Context, *PublishRequest) (*PublishResponse, error)
	// contains filtered or unexported methods
}

EventPublisherServer is the server API for EventPublisher service. All implementations must embed UnimplementedEventPublisherServer for forward compatibility.

type FloatingClient

type FloatingClient interface {
	Dimensions(ctx context.Context, in *DimensionsRequest, opts ...grpc.CallOption) (*DimensionsResponse, error)
}

FloatingClient is the client API for Floating service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewFloatingClient

func NewFloatingClient(cc grpc.ClientConnInterface) FloatingClient

type FloatingServer

type FloatingServer interface {
	Dimensions(context.Context, *DimensionsRequest) (*DimensionsResponse, error)
	// contains filtered or unexported methods
}

FloatingServer is the server API for Floating service. All implementations must embed UnimplementedFloatingServer for forward compatibility.

type FloatingWindowMessage

type FloatingWindowMessage struct {
	Type       handlerrpc.MessageType               `protobuf:"varint,1,opt,name=type,proto3,enum=handler.MessageType" json:"type,omitempty"`
	Draw       *handlerrpc.DrawStreamResponse       `protobuf:"bytes,2,opt,name=draw,proto3" json:"draw,omitempty"`
	Handle     *handlerrpc.HandleStreamResponse     `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
	Close      *handlerrpc.CloseStreamResponse      `protobuf:"bytes,5,opt,name=close,proto3" json:"close,omitempty"`
	Cursor     *handlerrpc.CursorStreamResponse     `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Selection  *handlerrpc.SelectionStreamResponse  `protobuf:"bytes,7,opt,name=selection,proto3" json:"selection,omitempty"`
	Dimensions *handlerrpc.DimensionsStreamResponse `protobuf:"bytes,8,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	Request    *FloatingWindowRequest               `protobuf:"bytes,10,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatingWindowMessage) Descriptor deprecated

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

Deprecated: Use FloatingWindowMessage.ProtoReflect.Descriptor instead.

func (*FloatingWindowMessage) GetClose

func (*FloatingWindowMessage) GetCursor

func (*FloatingWindowMessage) GetDimensions

func (*FloatingWindowMessage) GetDraw

func (*FloatingWindowMessage) GetHandle

func (*FloatingWindowMessage) GetRequest

func (*FloatingWindowMessage) GetSelection

func (*FloatingWindowMessage) GetType

func (*FloatingWindowMessage) ProtoMessage

func (*FloatingWindowMessage) ProtoMessage()

func (*FloatingWindowMessage) ProtoReflect

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

func (*FloatingWindowMessage) Reset

func (x *FloatingWindowMessage) Reset()

func (*FloatingWindowMessage) SetClose

SetClose satisfies handlerrpc.StreamMessage.

func (*FloatingWindowMessage) SetCursor

SetCursor satisfies handlerrpc.StreamMessage.

func (*FloatingWindowMessage) SetDimensions

SetDimensions satisfies handlerrpc.StreamMessage.

func (*FloatingWindowMessage) SetDraw

SetDraw satisfies handlerrpc.StreamMessage.

func (*FloatingWindowMessage) SetHandle

SetHandle satisfies handlerrpc.StreamMessage.

func (*FloatingWindowMessage) SetSelection

SetSelection satisfies handlerrpc.StreamMessage.

func (*FloatingWindowMessage) String

func (x *FloatingWindowMessage) String() string

type FloatingWindowRequest

type FloatingWindowRequest struct {
	Offset      *termrpc.Coordinates `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Alignment   uint32               `protobuf:"varint,2,opt,name=alignment,proto3" json:"alignment,omitempty"`
	NoWindowBar bool                 `protobuf:"varint,3,opt,name=no_window_bar,json=noWindowBar,proto3" json:"no_window_bar,omitempty"`
	Title       string               `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatingWindowRequest) Descriptor deprecated

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

Deprecated: Use FloatingWindowRequest.ProtoReflect.Descriptor instead.

func (*FloatingWindowRequest) GetAlignment

func (x *FloatingWindowRequest) GetAlignment() uint32

func (*FloatingWindowRequest) GetNoWindowBar added in v0.0.102

func (x *FloatingWindowRequest) GetNoWindowBar() bool

func (*FloatingWindowRequest) GetOffset

func (x *FloatingWindowRequest) GetOffset() *termrpc.Coordinates

func (*FloatingWindowRequest) GetTitle added in v0.0.102

func (x *FloatingWindowRequest) GetTitle() string

func (*FloatingWindowRequest) ProtoMessage

func (*FloatingWindowRequest) ProtoMessage()

func (*FloatingWindowRequest) ProtoReflect

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

func (*FloatingWindowRequest) Reset

func (x *FloatingWindowRequest) Reset()

func (*FloatingWindowRequest) String

func (x *FloatingWindowRequest) String() string

type FocusRequest

type FocusRequest struct {
	// contains filtered or unexported fields
}

func (*FocusRequest) Descriptor deprecated

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

Deprecated: Use FocusRequest.ProtoReflect.Descriptor instead.

func (*FocusRequest) ProtoMessage

func (*FocusRequest) ProtoMessage()

func (*FocusRequest) ProtoReflect

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

func (*FocusRequest) Reset

func (x *FocusRequest) Reset()

func (*FocusRequest) String

func (x *FocusRequest) String() string

type FocusResponse

type FocusResponse struct {
	WindowId uint64 `protobuf:"varint,1,opt,name=window_id,json=windowId,proto3" json:"window_id,omitempty"`
	// contains filtered or unexported fields
}

func (*FocusResponse) Descriptor deprecated

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

Deprecated: Use FocusResponse.ProtoReflect.Descriptor instead.

func (*FocusResponse) GetWindowId

func (x *FocusResponse) GetWindowId() uint64

func (*FocusResponse) ProtoMessage

func (*FocusResponse) ProtoMessage()

func (*FocusResponse) ProtoReflect

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

func (*FocusResponse) Reset

func (x *FocusResponse) Reset()

func (*FocusResponse) String

func (x *FocusResponse) String() string

type Mapping

type Mapping struct {
	From *termrpc.Event `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *termrpc.Event `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*Mapping) Descriptor deprecated

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

Deprecated: Use Mapping.ProtoReflect.Descriptor instead.

func (*Mapping) GetFrom

func (x *Mapping) GetFrom() *termrpc.Event

func (*Mapping) GetTo

func (x *Mapping) GetTo() *termrpc.Event

func (*Mapping) ProtoMessage

func (*Mapping) ProtoMessage()

func (*Mapping) ProtoReflect

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

func (*Mapping) Reset

func (x *Mapping) Reset()

func (*Mapping) String

func (x *Mapping) String() string

type NotificationsClient

type NotificationsClient interface {
	Notify(ctx context.Context, in *NotifyRequest, opts ...grpc.CallOption) (*NotifyResponse, error)
	NotifyOnce(ctx context.Context, in *NotifyRequest, opts ...grpc.CallOption) (*NotifyResponse, error)
	UpdateNotificationProgress(ctx context.Context, in *UpdateNotificationProgressRequest, opts ...grpc.CallOption) (*UpdateNotificationProgressResponse, error)
}

NotificationsClient is the client API for Notifications service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NotificationsServer

type NotificationsServer interface {
	Notify(context.Context, *NotifyRequest) (*NotifyResponse, error)
	NotifyOnce(context.Context, *NotifyRequest) (*NotifyResponse, error)
	UpdateNotificationProgress(context.Context, *UpdateNotificationProgressRequest) (*UpdateNotificationProgressResponse, error)
	// contains filtered or unexported methods
}

NotificationsServer is the server API for Notifications service. All implementations must embed UnimplementedNotificationsServer for forward compatibility.

type NotifyRequest

type NotifyRequest struct {
	Msg   string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyRequest) Descriptor deprecated

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

Deprecated: Use NotifyRequest.ProtoReflect.Descriptor instead.

func (*NotifyRequest) GetLevel

func (x *NotifyRequest) GetLevel() uint32

func (*NotifyRequest) GetMsg

func (x *NotifyRequest) GetMsg() string

func (*NotifyRequest) ProtoMessage

func (*NotifyRequest) ProtoMessage()

func (*NotifyRequest) ProtoReflect

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

func (*NotifyRequest) Reset

func (x *NotifyRequest) Reset()

func (*NotifyRequest) String

func (x *NotifyRequest) String() string

type NotifyResponse

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

func (*NotifyResponse) Descriptor deprecated

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

Deprecated: Use NotifyResponse.ProtoReflect.Descriptor instead.

func (*NotifyResponse) GetId

func (x *NotifyResponse) GetId() string

func (*NotifyResponse) ProtoMessage

func (*NotifyResponse) ProtoMessage()

func (*NotifyResponse) ProtoReflect

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

func (*NotifyResponse) Reset

func (x *NotifyResponse) Reset()

func (*NotifyResponse) String

func (x *NotifyResponse) String() string

type OpenResourceRequest

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

func (*OpenResourceRequest) Descriptor deprecated

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

Deprecated: Use OpenResourceRequest.ProtoReflect.Descriptor instead.

func (*OpenResourceRequest) GetResource

func (x *OpenResourceRequest) GetResource() string

func (*OpenResourceRequest) ProtoMessage

func (*OpenResourceRequest) ProtoMessage()

func (*OpenResourceRequest) ProtoReflect

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

func (*OpenResourceRequest) Reset

func (x *OpenResourceRequest) Reset()

func (*OpenResourceRequest) String

func (x *OpenResourceRequest) String() string

type OpenResourceResponse

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

func (*OpenResourceResponse) Descriptor deprecated

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

Deprecated: Use OpenResourceResponse.ProtoReflect.Descriptor instead.

func (*OpenResourceResponse) GetUri

func (x *OpenResourceResponse) GetUri() string

func (*OpenResourceResponse) ProtoMessage

func (*OpenResourceResponse) ProtoMessage()

func (*OpenResourceResponse) ProtoReflect

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

func (*OpenResourceResponse) Reset

func (x *OpenResourceResponse) Reset()

func (*OpenResourceResponse) String

func (x *OpenResourceResponse) String() string

type Orientation

type Orientation int32
const (
	Orientation_Default Orientation = 0
	Orientation_Top     Orientation = 1
	Orientation_Bottom  Orientation = 2
	Orientation_Left    Orientation = 3
	Orientation_Right   Orientation = 4
)

func (Orientation) Descriptor

func (Orientation) Enum

func (x Orientation) Enum() *Orientation

func (Orientation) EnumDescriptor deprecated

func (Orientation) EnumDescriptor() ([]byte, []int)

Deprecated: Use Orientation.Descriptor instead.

func (Orientation) Number

func (x Orientation) Number() protoreflect.EnumNumber

func (Orientation) String

func (x Orientation) String() string

func (Orientation) Type

type PublishRequest

type PublishRequest struct {
	Ev *termrpc.Event `protobuf:"bytes,1,opt,name=ev,proto3" json:"ev,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishRequest) Descriptor deprecated

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetEv

func (x *PublishRequest) GetEv() *termrpc.Event

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect

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

func (*PublishRequest) Reset

func (x *PublishRequest) Reset()

func (*PublishRequest) String

func (x *PublishRequest) String() string

type PublishResponse

type PublishResponse struct {
	// contains filtered or unexported fields
}

func (*PublishResponse) Descriptor deprecated

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) ProtoMessage

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect

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

func (*PublishResponse) Reset

func (x *PublishResponse) Reset()

func (*PublishResponse) String

func (x *PublishResponse) String() string

type ResourceOpenerClient

type ResourceOpenerClient interface {
	Open(ctx context.Context, in *OpenResourceRequest, opts ...grpc.CallOption) (*OpenResourceResponse, error)
}

ResourceOpenerClient is the client API for ResourceOpener service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ResourceOpenerServer

type ResourceOpenerServer interface {
	Open(context.Context, *OpenResourceRequest) (*OpenResourceResponse, error)
	// contains filtered or unexported methods
}

ResourceOpenerServer is the server API for ResourceOpener service. All implementations must embed UnimplementedResourceOpenerServer for forward compatibility.

type SplitRequest

type SplitRequest struct {
	Uri         string      `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Orientation Orientation `protobuf:"varint,2,opt,name=orientation,proto3,enum=browser.Orientation" json:"orientation,omitempty"`
	WindowId    uint64      `protobuf:"varint,3,opt,name=window_id,json=windowId,proto3" json:"window_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitRequest) Descriptor deprecated

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

Deprecated: Use SplitRequest.ProtoReflect.Descriptor instead.

func (*SplitRequest) GetOrientation

func (x *SplitRequest) GetOrientation() Orientation

func (*SplitRequest) GetUri

func (x *SplitRequest) GetUri() string

func (*SplitRequest) GetWindowId

func (x *SplitRequest) GetWindowId() uint64

func (*SplitRequest) ProtoMessage

func (*SplitRequest) ProtoMessage()

func (*SplitRequest) ProtoReflect

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

func (*SplitRequest) Reset

func (x *SplitRequest) Reset()

func (*SplitRequest) String

func (x *SplitRequest) String() string

type SplitWindowMessage

type SplitWindowMessage struct {
	Type       handlerrpc.MessageType               `protobuf:"varint,1,opt,name=type,proto3,enum=handler.MessageType" json:"type,omitempty"`
	Draw       *handlerrpc.DrawStreamResponse       `protobuf:"bytes,2,opt,name=draw,proto3" json:"draw,omitempty"`
	Handle     *handlerrpc.HandleStreamResponse     `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
	Close      *handlerrpc.CloseStreamResponse      `protobuf:"bytes,5,opt,name=close,proto3" json:"close,omitempty"`
	Cursor     *handlerrpc.CursorStreamResponse     `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Selection  *handlerrpc.SelectionStreamResponse  `protobuf:"bytes,7,opt,name=selection,proto3" json:"selection,omitempty"`
	Dimensions *handlerrpc.DimensionsStreamResponse `protobuf:"bytes,8,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	Request    *SplitRequest                        `protobuf:"bytes,10,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitWindowMessage) Descriptor deprecated

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

Deprecated: Use SplitWindowMessage.ProtoReflect.Descriptor instead.

func (*SplitWindowMessage) GetClose

func (*SplitWindowMessage) GetCursor

func (*SplitWindowMessage) GetDimensions

func (*SplitWindowMessage) GetDraw

func (*SplitWindowMessage) GetHandle

func (*SplitWindowMessage) GetRequest

func (x *SplitWindowMessage) GetRequest() *SplitRequest

func (*SplitWindowMessage) GetSelection

func (*SplitWindowMessage) GetType

func (*SplitWindowMessage) ProtoMessage

func (*SplitWindowMessage) ProtoMessage()

func (*SplitWindowMessage) ProtoReflect

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

func (*SplitWindowMessage) Reset

func (x *SplitWindowMessage) Reset()

func (*SplitWindowMessage) SetClose

SetClose satisfies handlerrpc.StreamMessage.

func (*SplitWindowMessage) SetCursor

SetCursor satisfies handlerrpc.StreamMessage.

func (*SplitWindowMessage) SetDimensions

SetDimensions satisfies handlerrpc.StreamMessage.

func (*SplitWindowMessage) SetDraw

SetDraw satisfies handlerrpc.StreamMessage.

func (*SplitWindowMessage) SetHandle

SetHandle satisfies handlerrpc.StreamMessage.

func (*SplitWindowMessage) SetSelection

SetSelection satisfies handlerrpc.StreamMessage.

func (*SplitWindowMessage) String

func (x *SplitWindowMessage) String() string

type TabMessage

type TabMessage struct {
	Type       handlerrpc.MessageType               `protobuf:"varint,1,opt,name=type,proto3,enum=handler.MessageType" json:"type,omitempty"`
	Draw       *handlerrpc.DrawStreamResponse       `protobuf:"bytes,2,opt,name=draw,proto3" json:"draw,omitempty"`
	Handle     *handlerrpc.HandleStreamResponse     `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
	Close      *handlerrpc.CloseStreamResponse      `protobuf:"bytes,5,opt,name=close,proto3" json:"close,omitempty"`
	Cursor     *handlerrpc.CursorStreamResponse     `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Selection  *handlerrpc.SelectionStreamResponse  `protobuf:"bytes,7,opt,name=selection,proto3" json:"selection,omitempty"`
	Dimensions *handlerrpc.DimensionsStreamResponse `protobuf:"bytes,8,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	Request    *TabRequest                          `protobuf:"bytes,10,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*TabMessage) Descriptor deprecated

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

Deprecated: Use TabMessage.ProtoReflect.Descriptor instead.

func (*TabMessage) GetClose

func (x *TabMessage) GetClose() *handlerrpc.CloseStreamResponse

func (*TabMessage) GetCursor

func (x *TabMessage) GetCursor() *handlerrpc.CursorStreamResponse

func (*TabMessage) GetDimensions

func (x *TabMessage) GetDimensions() *handlerrpc.DimensionsStreamResponse

func (*TabMessage) GetDraw

func (*TabMessage) GetHandle

func (x *TabMessage) GetHandle() *handlerrpc.HandleStreamResponse

func (*TabMessage) GetRequest

func (x *TabMessage) GetRequest() *TabRequest

func (*TabMessage) GetSelection

func (x *TabMessage) GetSelection() *handlerrpc.SelectionStreamResponse

func (*TabMessage) GetType

func (x *TabMessage) GetType() handlerrpc.MessageType

func (*TabMessage) ProtoMessage

func (*TabMessage) ProtoMessage()

func (*TabMessage) ProtoReflect

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

func (*TabMessage) Reset

func (x *TabMessage) Reset()

func (*TabMessage) SetClose

func (m *TabMessage) SetClose(r *handlerrpc.CloseStreamResponse)

SetClose satisfies handlerrpc.StreamMessage.

func (*TabMessage) SetCursor

func (m *TabMessage) SetCursor(r *handlerrpc.CursorStreamResponse)

SetCursor satisfies handlerrpc.StreamMessage.

func (*TabMessage) SetDimensions

func (m *TabMessage) SetDimensions(r *handlerrpc.DimensionsStreamResponse)

SetDimensions satisfies handlerrpc.StreamMessage.

func (*TabMessage) SetDraw

func (m *TabMessage) SetDraw(r *handlerrpc.DrawStreamResponse)

SetDraw satisfies handlerrpc.StreamMessage.

func (*TabMessage) SetHandle

func (m *TabMessage) SetHandle(r *handlerrpc.HandleStreamResponse)

SetHandle satisfies handlerrpc.StreamMessage.

func (*TabMessage) SetSelection

func (m *TabMessage) SetSelection(r *handlerrpc.SelectionStreamResponse)

SetSelection satisfies handlerrpc.StreamMessage.

func (*TabMessage) String

func (x *TabMessage) String() string

type TabRequest

type TabRequest struct {
	ResourceId   string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ResourceIcon string `protobuf:"bytes,3,opt,name=resource_icon,json=resourceIcon,proto3" json:"resource_icon,omitempty"`
	// contains filtered or unexported fields
}

func (*TabRequest) Descriptor deprecated

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

Deprecated: Use TabRequest.ProtoReflect.Descriptor instead.

func (*TabRequest) GetResourceIcon

func (x *TabRequest) GetResourceIcon() string

func (*TabRequest) GetResourceId

func (x *TabRequest) GetResourceId() string

func (*TabRequest) GetResourceName

func (x *TabRequest) GetResourceName() string

func (*TabRequest) ProtoMessage

func (*TabRequest) ProtoMessage()

func (*TabRequest) ProtoReflect

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

func (*TabRequest) Reset

func (x *TabRequest) Reset()

func (*TabRequest) String

func (x *TabRequest) String() string

type Token

type Token struct {
	URI string
}

Token is a handler used to indicate which of the remote handlers to set as content to a remote server. It satisfies tui.Handler so that clients can take the result of an browser.Open type of requests and pass it to Split* or SetContent type of responses.

func (Token) Close

func (h Token) Close() error

Close does nothing if called.

func (Token) Cursor

func (h Token) Cursor() (term.Coordinates, term.CursorStyle, bool)

Cursor panics if called. This tui.Handler implementation is symbolic.

func (Token) Dimensions

func (h Token) Dimensions() (width, height int)

Dimensions panics if called. This tui.Handler implementation is symbolic.

func (Token) Draw

func (h Token) Draw(w term.Writer)

Draw panics if called. This tui.Handler implementation is symbolic.

func (Token) Handle

func (h Token) Handle(term.Event) (exit, handled bool)

Handle panics if called. This tui.Handler implementation is symbolic.

func (Token) Resize

func (h Token) Resize(width, height int)

Resize panics if called. This tui.Handler implementation is symbolic.

func (Token) Selection

func (h Token) Selection() (string, bool)

Selection panics if called. This tui.Handler implementation is symbolic.

type UnimplementedEventPublisherServer

type UnimplementedEventPublisherServer struct{}

UnimplementedEventPublisherServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEventPublisherServer) Publish

type UnimplementedFloatingServer

type UnimplementedFloatingServer struct{}

UnimplementedFloatingServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedFloatingServer) Dimensions

type UnimplementedNotificationsServer

type UnimplementedNotificationsServer struct{}

UnimplementedNotificationsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedNotificationsServer) Notify

func (UnimplementedNotificationsServer) NotifyOnce

type UnimplementedResourceOpenerServer

type UnimplementedResourceOpenerServer struct{}

UnimplementedResourceOpenerServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedResourceOpenerServer) Open

type UnimplementedWindowManagerServer

type UnimplementedWindowManagerServer struct{}

UnimplementedWindowManagerServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedWindowManagerServer) CloseWindow

func (UnimplementedWindowManagerServer) Focus

type UnsafeEventPublisherServer

type UnsafeEventPublisherServer interface {
	// contains filtered or unexported methods
}

UnsafeEventPublisherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventPublisherServer will result in compilation errors.

type UnsafeFloatingServer

type UnsafeFloatingServer interface {
	// contains filtered or unexported methods
}

UnsafeFloatingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FloatingServer will result in compilation errors.

type UnsafeNotificationsServer

type UnsafeNotificationsServer interface {
	// contains filtered or unexported methods
}

UnsafeNotificationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationsServer will result in compilation errors.

type UnsafeResourceOpenerServer

type UnsafeResourceOpenerServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceOpenerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceOpenerServer will result in compilation errors.

type UnsafeWindowManagerServer

type UnsafeWindowManagerServer interface {
	// contains filtered or unexported methods
}

UnsafeWindowManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WindowManagerServer will result in compilation errors.

type UpdateNotificationProgressRequest

type UpdateNotificationProgressRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Msg      string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Progress int64  `protobuf:"varint,3,opt,name=progress,proto3" json:"progress,omitempty"`
	Total    int64  `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotificationProgressRequest) Descriptor deprecated

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

Deprecated: Use UpdateNotificationProgressRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotificationProgressRequest) GetId

func (*UpdateNotificationProgressRequest) GetMsg

func (*UpdateNotificationProgressRequest) GetProgress

func (x *UpdateNotificationProgressRequest) GetProgress() int64

func (*UpdateNotificationProgressRequest) GetTotal

func (*UpdateNotificationProgressRequest) ProtoMessage

func (*UpdateNotificationProgressRequest) ProtoMessage()

func (*UpdateNotificationProgressRequest) ProtoReflect

func (*UpdateNotificationProgressRequest) Reset

func (*UpdateNotificationProgressRequest) String

type UpdateNotificationProgressResponse

type UpdateNotificationProgressResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateNotificationProgressResponse) Descriptor deprecated

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

Deprecated: Use UpdateNotificationProgressResponse.ProtoReflect.Descriptor instead.

func (*UpdateNotificationProgressResponse) ProtoMessage

func (*UpdateNotificationProgressResponse) ProtoMessage()

func (*UpdateNotificationProgressResponse) ProtoReflect

func (*UpdateNotificationProgressResponse) Reset

func (*UpdateNotificationProgressResponse) String

type WindowCloseRequest

type WindowCloseRequest struct {
	WindowId uint64 `protobuf:"varint,1,opt,name=window_id,json=windowId,proto3" json:"window_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WindowCloseRequest) Descriptor deprecated

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

Deprecated: Use WindowCloseRequest.ProtoReflect.Descriptor instead.

func (*WindowCloseRequest) GetWindowId

func (x *WindowCloseRequest) GetWindowId() uint64

func (*WindowCloseRequest) ProtoMessage

func (*WindowCloseRequest) ProtoMessage()

func (*WindowCloseRequest) ProtoReflect

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

func (*WindowCloseRequest) Reset

func (x *WindowCloseRequest) Reset()

func (*WindowCloseRequest) String

func (x *WindowCloseRequest) String() string

type WindowCloseResponse

type WindowCloseResponse struct {
	// contains filtered or unexported fields
}

func (*WindowCloseResponse) Descriptor deprecated

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

Deprecated: Use WindowCloseResponse.ProtoReflect.Descriptor instead.

func (*WindowCloseResponse) ProtoMessage

func (*WindowCloseResponse) ProtoMessage()

func (*WindowCloseResponse) ProtoReflect

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

func (*WindowCloseResponse) Reset

func (x *WindowCloseResponse) Reset()

func (*WindowCloseResponse) String

func (x *WindowCloseResponse) String() string

type WindowManagerServer

WindowManagerServer is the server API for WindowManager service. All implementations must embed UnimplementedWindowManagerServer for forward compatibility.

type WindowManager_BarClient

type WindowManager_BarClient = grpc.BidiStreamingClient[BarMessage, handlerrpc.ServerMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_BarServer

type WindowManager_BarServer = grpc.BidiStreamingServer[BarMessage, handlerrpc.ServerMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_FloatingClient

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_FloatingServer

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_SetContentClient

type WindowManager_SetContentClient = grpc.BidiStreamingClient[WindowSetContentMessage, handlerrpc.ServerMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_SetContentServer

type WindowManager_SetContentServer = grpc.BidiStreamingServer[WindowSetContentMessage, handlerrpc.ServerMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_SplitClient

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_SplitServer

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_TabClient

type WindowManager_TabClient = grpc.BidiStreamingClient[TabMessage, handlerrpc.ServerMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowManager_TabServer

type WindowManager_TabServer = grpc.BidiStreamingServer[TabMessage, handlerrpc.ServerMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WindowSetContentMessage

type WindowSetContentMessage struct {
	Type       handlerrpc.MessageType               `protobuf:"varint,1,opt,name=type,proto3,enum=handler.MessageType" json:"type,omitempty"`
	Draw       *handlerrpc.DrawStreamResponse       `protobuf:"bytes,2,opt,name=draw,proto3" json:"draw,omitempty"`
	Handle     *handlerrpc.HandleStreamResponse     `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
	Close      *handlerrpc.CloseStreamResponse      `protobuf:"bytes,5,opt,name=close,proto3" json:"close,omitempty"`
	Cursor     *handlerrpc.CursorStreamResponse     `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Selection  *handlerrpc.SelectionStreamResponse  `protobuf:"bytes,7,opt,name=selection,proto3" json:"selection,omitempty"`
	Dimensions *handlerrpc.DimensionsStreamResponse `protobuf:"bytes,8,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	Request    *WindowSetContentRequest             `protobuf:"bytes,10,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*WindowSetContentMessage) Descriptor deprecated

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

Deprecated: Use WindowSetContentMessage.ProtoReflect.Descriptor instead.

func (*WindowSetContentMessage) GetClose

func (*WindowSetContentMessage) GetCursor

func (*WindowSetContentMessage) GetDimensions

func (*WindowSetContentMessage) GetDraw

func (*WindowSetContentMessage) GetHandle

func (*WindowSetContentMessage) GetRequest

func (*WindowSetContentMessage) GetSelection

func (*WindowSetContentMessage) GetType

func (*WindowSetContentMessage) ProtoMessage

func (*WindowSetContentMessage) ProtoMessage()

func (*WindowSetContentMessage) ProtoReflect

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

func (*WindowSetContentMessage) Reset

func (x *WindowSetContentMessage) Reset()

func (*WindowSetContentMessage) SetClose

SetClose satisfies handlerrpc.StreamMessage.

func (*WindowSetContentMessage) SetCursor

SetCursor satisfies handlerrpc.StreamMessage.

func (*WindowSetContentMessage) SetDimensions

SetDimensions satisfies handlerrpc.StreamMessage.

func (*WindowSetContentMessage) SetDraw

SetDraw satisfies handlerrpc.StreamMessage.

func (*WindowSetContentMessage) SetHandle

SetHandle satisfies handlerrpc.StreamMessage.

func (*WindowSetContentMessage) SetSelection

SetSelection satisfies handlerrpc.StreamMessage.

func (*WindowSetContentMessage) String

func (x *WindowSetContentMessage) String() string

type WindowSetContentRequest

type WindowSetContentRequest struct {
	WindowId uint64 `protobuf:"varint,1,opt,name=window_id,json=windowId,proto3" json:"window_id,omitempty"`
	Uri      string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*WindowSetContentRequest) Descriptor deprecated

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

Deprecated: Use WindowSetContentRequest.ProtoReflect.Descriptor instead.

func (*WindowSetContentRequest) GetUri

func (x *WindowSetContentRequest) GetUri() string

func (*WindowSetContentRequest) GetWindowId

func (x *WindowSetContentRequest) GetWindowId() uint64

func (*WindowSetContentRequest) ProtoMessage

func (*WindowSetContentRequest) ProtoMessage()

func (*WindowSetContentRequest) ProtoReflect

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

func (*WindowSetContentRequest) Reset

func (x *WindowSetContentRequest) Reset()

func (*WindowSetContentRequest) String

func (x *WindowSetContentRequest) String() string

Jump to

Keyboard shortcuts

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