Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRemoteWebServer(s grpc.ServiceRegistrar, srv RemoteWebServer)
- type FileRequest
- type FileResponse
- func (*FileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileResponse) GetErrorMessage() string
- func (x *FileResponse) GetFile() []byte
- func (x *FileResponse) GetStatusCode() uint32
- func (*FileResponse) ProtoMessage()
- func (x *FileResponse) ProtoReflect() protoreflect.Message
- func (x *FileResponse) Reset()
- func (x *FileResponse) String() string
- type NotificationsRequest
- type NotificationsResponse
- func (*NotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsResponse) GetErrorMessage() string
- func (x *NotificationsResponse) GetNotifications() []*web.NotificationMessage
- func (x *NotificationsResponse) GetSuccess() bool
- func (*NotificationsResponse) ProtoMessage()
- func (x *NotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsResponse) Reset()
- func (x *NotificationsResponse) String() string
- type PageRequest
- func (*PageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageRequest) GetBasePath() string
- func (x *PageRequest) GetMethod() string
- func (x *PageRequest) GetPath() string
- func (x *PageRequest) GetPathParamsJson() string
- func (x *PageRequest) GetPostJson() string
- func (x *PageRequest) GetQueryParamsJson() string
- func (x *PageRequest) GetUser() *UserData
- func (*PageRequest) ProtoMessage()
- func (x *PageRequest) ProtoReflect() protoreflect.Message
- func (x *PageRequest) Reset()
- func (x *PageRequest) String() string
- type PageResponse
- func (*PageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PageResponse) GetCustomCss() []string
- func (x *PageResponse) GetCustomJs() []string
- func (x *PageResponse) GetCustomPageName() string
- func (x *PageResponse) GetErrorMessage() string
- func (x *PageResponse) GetHideErrorFromUser() bool
- func (x *PageResponse) GetPageVariablesJson() string
- func (x *PageResponse) GetRedirectUrl() string
- func (x *PageResponse) GetStatusCode() uint32
- func (x *PageResponse) GetTemplateHtml() string
- func (*PageResponse) ProtoMessage()
- func (x *PageResponse) ProtoReflect() protoreflect.Message
- func (x *PageResponse) Reset()
- func (x *PageResponse) String() string
- type PanelRequest
- func (*PanelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PanelRequest) GetName() string
- func (x *PanelRequest) GetUser() *UserData
- func (x *PanelRequest) GetVariables() map[string]string
- func (*PanelRequest) ProtoMessage()
- func (x *PanelRequest) ProtoReflect() protoreflect.Message
- func (x *PanelRequest) Reset()
- func (x *PanelRequest) String() string
- type PanelResponse
- func (*PanelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PanelResponse) GetErrorMessage() string
- func (x *PanelResponse) GetHideErrorFromUser() bool
- func (x *PanelResponse) GetHtml() string
- func (x *PanelResponse) GetStatusCode() uint32
- func (*PanelResponse) ProtoMessage()
- func (x *PanelResponse) ProtoReflect() protoreflect.Message
- func (x *PanelResponse) Reset()
- func (x *PanelResponse) String() string
- type RemoteWebClient
- type RemoteWebServer
- type TasksRequest
- type TasksResponse
- func (*TasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TasksResponse) GetErrorMessage() string
- func (x *TasksResponse) GetSuccess() bool
- func (x *TasksResponse) GetTasks() []*web.TaskMessage
- func (*TasksResponse) ProtoMessage()
- func (x *TasksResponse) ProtoReflect() protoreflect.Message
- func (x *TasksResponse) Reset()
- func (x *TasksResponse) String() string
- type UnimplementedRemoteWebServer
- func (UnimplementedRemoteWebServer) AdminPage(context.Context, *PageRequest) (*PageResponse, error)
- func (UnimplementedRemoteWebServer) File(context.Context, *FileRequest) (*FileResponse, error)
- func (UnimplementedRemoteWebServer) Notifications(context.Context, *NotificationsRequest) (*NotificationsResponse, error)
- func (UnimplementedRemoteWebServer) Page(context.Context, *PageRequest) (*PageResponse, error)
- func (UnimplementedRemoteWebServer) Panel(context.Context, *PanelRequest) (*PanelResponse, error)
- func (UnimplementedRemoteWebServer) Tasks(context.Context, *TasksRequest) (*TasksResponse, error)
- func (UnimplementedRemoteWebServer) WebSocket(context.Context, *WebSocketRequest) (*WebSocketResponse, error)
- type UnsafeRemoteWebServer
- type UserData
- func (*UserData) Descriptor() ([]byte, []int)deprecated
- func (x *UserData) GetIcon() string
- func (x *UserData) GetIsAdmin() bool
- func (x *UserData) GetName() string
- func (x *UserData) GetPermissions() []string
- func (x *UserData) GetUserId() uint64
- func (*UserData) ProtoMessage()
- func (x *UserData) ProtoReflect() protoreflect.Message
- func (x *UserData) Reset()
- func (x *UserData) String() string
- type WebSocketRequest
- func (*WebSocketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WebSocketRequest) GetCommand() string
- func (x *WebSocketRequest) GetDataJson() string
- func (x *WebSocketRequest) GetUser() *UserData
- func (*WebSocketRequest) ProtoMessage()
- func (x *WebSocketRequest) ProtoReflect() protoreflect.Message
- func (x *WebSocketRequest) Reset()
- func (x *WebSocketRequest) String() string
- type WebSocketResponse
- func (*WebSocketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WebSocketResponse) GetDataJson() string
- func (x *WebSocketResponse) GetErrorMessage() string
- func (x *WebSocketResponse) GetHideErrorFromUser() bool
- func (x *WebSocketResponse) GetStatusCode() uint32
- func (x *WebSocketResponse) GetTellAll() bool
- func (*WebSocketResponse) ProtoMessage()
- func (x *WebSocketResponse) ProtoReflect() protoreflect.Message
- func (x *WebSocketResponse) Reset()
- func (x *WebSocketResponse) String() string
Constants ¶
const ( RemoteWeb_Page_FullMethodName = "/remoteweb.RemoteWeb/Page" RemoteWeb_AdminPage_FullMethodName = "/remoteweb.RemoteWeb/AdminPage" RemoteWeb_File_FullMethodName = "/remoteweb.RemoteWeb/File" RemoteWeb_WebSocket_FullMethodName = "/remoteweb.RemoteWeb/WebSocket" RemoteWeb_Panel_FullMethodName = "/remoteweb.RemoteWeb/Panel" RemoteWeb_Tasks_FullMethodName = "/remoteweb.RemoteWeb/Tasks" RemoteWeb_Notifications_FullMethodName = "/remoteweb.RemoteWeb/Notifications" )
Variables ¶
var File_remoteweb_proto protoreflect.FileDescriptor
var RemoteWeb_ServiceDesc = grpc.ServiceDesc{ ServiceName: "remoteweb.RemoteWeb", HandlerType: (*RemoteWebServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Page", Handler: _RemoteWeb_Page_Handler, }, { MethodName: "AdminPage", Handler: _RemoteWeb_AdminPage_Handler, }, { MethodName: "File", Handler: _RemoteWeb_File_Handler, }, { MethodName: "WebSocket", Handler: _RemoteWeb_WebSocket_Handler, }, { MethodName: "Panel", Handler: _RemoteWeb_Panel_Handler, }, { MethodName: "Tasks", Handler: _RemoteWeb_Tasks_Handler, }, { MethodName: "Notifications", Handler: _RemoteWeb_Notifications_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "remoteweb.proto", }
RemoteWeb_ServiceDesc is the grpc.ServiceDesc for RemoteWeb service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRemoteWebServer ¶
func RegisterRemoteWebServer(s grpc.ServiceRegistrar, srv RemoteWebServer)
Types ¶
type FileRequest ¶
type FileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*FileRequest) Descriptor
deprecated
func (*FileRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileRequest.ProtoReflect.Descriptor instead.
func (*FileRequest) GetPath ¶
func (x *FileRequest) GetPath() string
func (*FileRequest) ProtoMessage ¶
func (*FileRequest) ProtoMessage()
func (*FileRequest) ProtoReflect ¶
func (x *FileRequest) ProtoReflect() protoreflect.Message
func (*FileRequest) Reset ¶
func (x *FileRequest) Reset()
func (*FileRequest) String ¶
func (x *FileRequest) String() string
type FileResponse ¶
type FileResponse struct { StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` File []byte `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*FileResponse) Descriptor
deprecated
func (*FileResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileResponse.ProtoReflect.Descriptor instead.
func (*FileResponse) GetErrorMessage ¶
func (x *FileResponse) GetErrorMessage() string
func (*FileResponse) GetFile ¶
func (x *FileResponse) GetFile() []byte
func (*FileResponse) GetStatusCode ¶
func (x *FileResponse) GetStatusCode() uint32
func (*FileResponse) ProtoMessage ¶
func (*FileResponse) ProtoMessage()
func (*FileResponse) ProtoReflect ¶
func (x *FileResponse) ProtoReflect() protoreflect.Message
func (*FileResponse) Reset ¶
func (x *FileResponse) Reset()
func (*FileResponse) String ¶
func (x *FileResponse) String() string
type NotificationsRequest ¶
type NotificationsRequest struct {
// contains filtered or unexported fields
}
func (*NotificationsRequest) Descriptor
deprecated
func (*NotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsRequest) ProtoMessage ¶
func (*NotificationsRequest) ProtoMessage()
func (*NotificationsRequest) ProtoReflect ¶
func (x *NotificationsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsRequest) Reset ¶
func (x *NotificationsRequest) Reset()
func (*NotificationsRequest) String ¶
func (x *NotificationsRequest) String() string
type NotificationsResponse ¶
type NotificationsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Notifications []*web.NotificationMessage `protobuf:"bytes,3,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*NotificationsResponse) Descriptor
deprecated
func (*NotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsResponse) GetErrorMessage ¶
func (x *NotificationsResponse) GetErrorMessage() string
func (*NotificationsResponse) GetNotifications ¶
func (x *NotificationsResponse) GetNotifications() []*web.NotificationMessage
func (*NotificationsResponse) GetSuccess ¶
func (x *NotificationsResponse) GetSuccess() bool
func (*NotificationsResponse) ProtoMessage ¶
func (*NotificationsResponse) ProtoMessage()
func (*NotificationsResponse) ProtoReflect ¶
func (x *NotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsResponse) Reset ¶
func (x *NotificationsResponse) Reset()
func (*NotificationsResponse) String ¶
func (x *NotificationsResponse) String() string
type PageRequest ¶
type PageRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"` User *UserData `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` QueryParamsJson string `protobuf:"bytes,5,opt,name=query_params_json,json=queryParamsJson,proto3" json:"query_params_json,omitempty"` PostJson string `protobuf:"bytes,6,opt,name=post_json,json=postJson,proto3" json:"post_json,omitempty"` PathParamsJson string `protobuf:"bytes,7,opt,name=path_params_json,json=pathParamsJson,proto3" json:"path_params_json,omitempty"` // contains filtered or unexported fields }
func (*PageRequest) Descriptor
deprecated
func (*PageRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageRequest.ProtoReflect.Descriptor instead.
func (*PageRequest) GetBasePath ¶
func (x *PageRequest) GetBasePath() string
func (*PageRequest) GetMethod ¶
func (x *PageRequest) GetMethod() string
func (*PageRequest) GetPath ¶
func (x *PageRequest) GetPath() string
func (*PageRequest) GetPathParamsJson ¶
func (x *PageRequest) GetPathParamsJson() string
func (*PageRequest) GetPostJson ¶
func (x *PageRequest) GetPostJson() string
func (*PageRequest) GetQueryParamsJson ¶
func (x *PageRequest) GetQueryParamsJson() string
func (*PageRequest) GetUser ¶
func (x *PageRequest) GetUser() *UserData
func (*PageRequest) ProtoMessage ¶
func (*PageRequest) ProtoMessage()
func (*PageRequest) ProtoReflect ¶
func (x *PageRequest) ProtoReflect() protoreflect.Message
func (*PageRequest) Reset ¶
func (x *PageRequest) Reset()
func (*PageRequest) String ¶
func (x *PageRequest) String() string
type PageResponse ¶
type PageResponse struct { StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` HideErrorFromUser bool `protobuf:"varint,2,opt,name=hide_error_from_user,json=hideErrorFromUser,proto3" json:"hide_error_from_user,omitempty"` ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` RedirectUrl string `protobuf:"bytes,4,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` TemplateHtml string `protobuf:"bytes,5,opt,name=template_html,json=templateHtml,proto3" json:"template_html,omitempty"` PageVariablesJson string `protobuf:"bytes,6,opt,name=page_variables_json,json=pageVariablesJson,proto3" json:"page_variables_json,omitempty"` CustomPageName string `protobuf:"bytes,7,opt,name=custom_page_name,json=customPageName,proto3" json:"custom_page_name,omitempty"` CustomCss []string `protobuf:"bytes,8,rep,name=custom_css,json=customCss,proto3" json:"custom_css,omitempty"` CustomJs []string `protobuf:"bytes,9,rep,name=custom_js,json=customJs,proto3" json:"custom_js,omitempty"` // contains filtered or unexported fields }
func (*PageResponse) Descriptor
deprecated
func (*PageResponse) Descriptor() ([]byte, []int)
Deprecated: Use PageResponse.ProtoReflect.Descriptor instead.
func (*PageResponse) GetCustomCss ¶
func (x *PageResponse) GetCustomCss() []string
func (*PageResponse) GetCustomJs ¶
func (x *PageResponse) GetCustomJs() []string
func (*PageResponse) GetCustomPageName ¶
func (x *PageResponse) GetCustomPageName() string
func (*PageResponse) GetErrorMessage ¶
func (x *PageResponse) GetErrorMessage() string
func (*PageResponse) GetHideErrorFromUser ¶
func (x *PageResponse) GetHideErrorFromUser() bool
func (*PageResponse) GetPageVariablesJson ¶
func (x *PageResponse) GetPageVariablesJson() string
func (*PageResponse) GetRedirectUrl ¶
func (x *PageResponse) GetRedirectUrl() string
func (*PageResponse) GetStatusCode ¶
func (x *PageResponse) GetStatusCode() uint32
func (*PageResponse) GetTemplateHtml ¶
func (x *PageResponse) GetTemplateHtml() string
func (*PageResponse) ProtoMessage ¶
func (*PageResponse) ProtoMessage()
func (*PageResponse) ProtoReflect ¶
func (x *PageResponse) ProtoReflect() protoreflect.Message
func (*PageResponse) Reset ¶
func (x *PageResponse) Reset()
func (*PageResponse) String ¶
func (x *PageResponse) String() string
type PanelRequest ¶
type PanelRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` User *UserData `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Variables map[string]string `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PanelRequest) Descriptor
deprecated
func (*PanelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PanelRequest.ProtoReflect.Descriptor instead.
func (*PanelRequest) GetName ¶
func (x *PanelRequest) GetName() string
func (*PanelRequest) GetUser ¶
func (x *PanelRequest) GetUser() *UserData
func (*PanelRequest) GetVariables ¶
func (x *PanelRequest) GetVariables() map[string]string
func (*PanelRequest) ProtoMessage ¶
func (*PanelRequest) ProtoMessage()
func (*PanelRequest) ProtoReflect ¶
func (x *PanelRequest) ProtoReflect() protoreflect.Message
func (*PanelRequest) Reset ¶
func (x *PanelRequest) Reset()
func (*PanelRequest) String ¶
func (x *PanelRequest) String() string
type PanelResponse ¶
type PanelResponse struct { StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` HideErrorFromUser bool `protobuf:"varint,2,opt,name=hide_error_from_user,json=hideErrorFromUser,proto3" json:"hide_error_from_user,omitempty"` ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Html string `protobuf:"bytes,5,opt,name=html,proto3" json:"html,omitempty"` // contains filtered or unexported fields }
func (*PanelResponse) Descriptor
deprecated
func (*PanelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PanelResponse.ProtoReflect.Descriptor instead.
func (*PanelResponse) GetErrorMessage ¶
func (x *PanelResponse) GetErrorMessage() string
func (*PanelResponse) GetHideErrorFromUser ¶
func (x *PanelResponse) GetHideErrorFromUser() bool
func (*PanelResponse) GetHtml ¶
func (x *PanelResponse) GetHtml() string
func (*PanelResponse) GetStatusCode ¶
func (x *PanelResponse) GetStatusCode() uint32
func (*PanelResponse) ProtoMessage ¶
func (*PanelResponse) ProtoMessage()
func (*PanelResponse) ProtoReflect ¶
func (x *PanelResponse) ProtoReflect() protoreflect.Message
func (*PanelResponse) Reset ¶
func (x *PanelResponse) Reset()
func (*PanelResponse) String ¶
func (x *PanelResponse) String() string
type RemoteWebClient ¶
type RemoteWebClient interface { Page(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (*PageResponse, error) AdminPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (*PageResponse, error) File(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileResponse, error) WebSocket(ctx context.Context, in *WebSocketRequest, opts ...grpc.CallOption) (*WebSocketResponse, error) Panel(ctx context.Context, in *PanelRequest, opts ...grpc.CallOption) (*PanelResponse, error) Tasks(ctx context.Context, in *TasksRequest, opts ...grpc.CallOption) (*TasksResponse, error) Notifications(ctx context.Context, in *NotificationsRequest, opts ...grpc.CallOption) (*NotificationsResponse, error) }
RemoteWebClient is the client API for RemoteWeb 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 NewRemoteWebClient ¶
func NewRemoteWebClient(cc grpc.ClientConnInterface) RemoteWebClient
type RemoteWebServer ¶
type RemoteWebServer interface { Page(context.Context, *PageRequest) (*PageResponse, error) AdminPage(context.Context, *PageRequest) (*PageResponse, error) File(context.Context, *FileRequest) (*FileResponse, error) WebSocket(context.Context, *WebSocketRequest) (*WebSocketResponse, error) Panel(context.Context, *PanelRequest) (*PanelResponse, error) Tasks(context.Context, *TasksRequest) (*TasksResponse, error) Notifications(context.Context, *NotificationsRequest) (*NotificationsResponse, error) // contains filtered or unexported methods }
RemoteWebServer is the server API for RemoteWeb service. All implementations must embed UnimplementedRemoteWebServer for forward compatibility.
type TasksRequest ¶
type TasksRequest struct {
// contains filtered or unexported fields
}
func (*TasksRequest) Descriptor
deprecated
func (*TasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use TasksRequest.ProtoReflect.Descriptor instead.
func (*TasksRequest) ProtoMessage ¶
func (*TasksRequest) ProtoMessage()
func (*TasksRequest) ProtoReflect ¶
func (x *TasksRequest) ProtoReflect() protoreflect.Message
func (*TasksRequest) Reset ¶
func (x *TasksRequest) Reset()
func (*TasksRequest) String ¶
func (x *TasksRequest) String() string
type TasksResponse ¶
type TasksResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Tasks []*web.TaskMessage `protobuf:"bytes,3,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*TasksResponse) Descriptor
deprecated
func (*TasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use TasksResponse.ProtoReflect.Descriptor instead.
func (*TasksResponse) GetErrorMessage ¶
func (x *TasksResponse) GetErrorMessage() string
func (*TasksResponse) GetSuccess ¶
func (x *TasksResponse) GetSuccess() bool
func (*TasksResponse) GetTasks ¶
func (x *TasksResponse) GetTasks() []*web.TaskMessage
func (*TasksResponse) ProtoMessage ¶
func (*TasksResponse) ProtoMessage()
func (*TasksResponse) ProtoReflect ¶
func (x *TasksResponse) ProtoReflect() protoreflect.Message
func (*TasksResponse) Reset ¶
func (x *TasksResponse) Reset()
func (*TasksResponse) String ¶
func (x *TasksResponse) String() string
type UnimplementedRemoteWebServer ¶
type UnimplementedRemoteWebServer struct{}
UnimplementedRemoteWebServer 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 (UnimplementedRemoteWebServer) AdminPage ¶
func (UnimplementedRemoteWebServer) AdminPage(context.Context, *PageRequest) (*PageResponse, error)
func (UnimplementedRemoteWebServer) File ¶
func (UnimplementedRemoteWebServer) File(context.Context, *FileRequest) (*FileResponse, error)
func (UnimplementedRemoteWebServer) Notifications ¶
func (UnimplementedRemoteWebServer) Notifications(context.Context, *NotificationsRequest) (*NotificationsResponse, error)
func (UnimplementedRemoteWebServer) Page ¶
func (UnimplementedRemoteWebServer) Page(context.Context, *PageRequest) (*PageResponse, error)
func (UnimplementedRemoteWebServer) Panel ¶
func (UnimplementedRemoteWebServer) Panel(context.Context, *PanelRequest) (*PanelResponse, error)
func (UnimplementedRemoteWebServer) Tasks ¶
func (UnimplementedRemoteWebServer) Tasks(context.Context, *TasksRequest) (*TasksResponse, error)
func (UnimplementedRemoteWebServer) WebSocket ¶
func (UnimplementedRemoteWebServer) WebSocket(context.Context, *WebSocketRequest) (*WebSocketResponse, error)
type UnsafeRemoteWebServer ¶
type UnsafeRemoteWebServer interface {
// contains filtered or unexported methods
}
UnsafeRemoteWebServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RemoteWebServer will result in compilation errors.
type UserData ¶
type UserData struct { UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Icon string `protobuf:"bytes,3,opt,name=Icon,proto3" json:"Icon,omitempty"` IsAdmin bool `protobuf:"varint,4,opt,name=IsAdmin,proto3" json:"IsAdmin,omitempty"` Permissions []string `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*UserData) Descriptor
deprecated
func (*UserData) GetIsAdmin ¶
func (*UserData) GetPermissions ¶
func (*UserData) ProtoMessage ¶
func (*UserData) ProtoMessage()
func (*UserData) ProtoReflect ¶
func (x *UserData) ProtoReflect() protoreflect.Message
type WebSocketRequest ¶
type WebSocketRequest struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` User *UserData `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` DataJson string `protobuf:"bytes,3,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"` // contains filtered or unexported fields }
func (*WebSocketRequest) Descriptor
deprecated
func (*WebSocketRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebSocketRequest.ProtoReflect.Descriptor instead.
func (*WebSocketRequest) GetCommand ¶
func (x *WebSocketRequest) GetCommand() string
func (*WebSocketRequest) GetDataJson ¶
func (x *WebSocketRequest) GetDataJson() string
func (*WebSocketRequest) GetUser ¶
func (x *WebSocketRequest) GetUser() *UserData
func (*WebSocketRequest) ProtoMessage ¶
func (*WebSocketRequest) ProtoMessage()
func (*WebSocketRequest) ProtoReflect ¶
func (x *WebSocketRequest) ProtoReflect() protoreflect.Message
func (*WebSocketRequest) Reset ¶
func (x *WebSocketRequest) Reset()
func (*WebSocketRequest) String ¶
func (x *WebSocketRequest) String() string
type WebSocketResponse ¶
type WebSocketResponse struct { StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` HideErrorFromUser bool `protobuf:"varint,2,opt,name=hide_error_from_user,json=hideErrorFromUser,proto3" json:"hide_error_from_user,omitempty"` ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` TellAll bool `protobuf:"varint,4,opt,name=tell_all,json=tellAll,proto3" json:"tell_all,omitempty"` DataJson string `protobuf:"bytes,5,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"` // contains filtered or unexported fields }
func (*WebSocketResponse) Descriptor
deprecated
func (*WebSocketResponse) Descriptor() ([]byte, []int)
Deprecated: Use WebSocketResponse.ProtoReflect.Descriptor instead.
func (*WebSocketResponse) GetDataJson ¶
func (x *WebSocketResponse) GetDataJson() string
func (*WebSocketResponse) GetErrorMessage ¶
func (x *WebSocketResponse) GetErrorMessage() string
func (*WebSocketResponse) GetHideErrorFromUser ¶
func (x *WebSocketResponse) GetHideErrorFromUser() bool
func (*WebSocketResponse) GetStatusCode ¶
func (x *WebSocketResponse) GetStatusCode() uint32
func (*WebSocketResponse) GetTellAll ¶
func (x *WebSocketResponse) GetTellAll() bool
func (*WebSocketResponse) ProtoMessage ¶
func (*WebSocketResponse) ProtoMessage()
func (*WebSocketResponse) ProtoReflect ¶
func (x *WebSocketResponse) ProtoReflect() protoreflect.Message
func (*WebSocketResponse) Reset ¶
func (x *WebSocketResponse) Reset()
func (*WebSocketResponse) String ¶
func (x *WebSocketResponse) String() string