Documentation ¶
Index ¶
- Variables
- func RegisterWebServer(s grpc.ServiceRegistrar, srv WebServer)
- type NotificationMessage
- func (*NotificationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationMessage) GetAdminOnly() bool
- func (x *NotificationMessage) GetBaseId() string
- func (x *NotificationMessage) GetColor() string
- func (x *NotificationMessage) GetCreatedAt() string
- func (x *NotificationMessage) GetIcon() string
- func (x *NotificationMessage) GetMessage() string
- func (x *NotificationMessage) GetNotification() string
- func (x *NotificationMessage) GetNotificationId() uint64
- func (x *NotificationMessage) GetPermission() string
- func (x *NotificationMessage) GetTitle() string
- func (x *NotificationMessage) GetUrl() string
- func (x *NotificationMessage) GetUserId() uint64
- func (m *NotificationMessage) GetWho() isNotificationMessage_Who
- func (*NotificationMessage) ProtoMessage()
- func (x *NotificationMessage) ProtoReflect() protoreflect.Message
- func (x *NotificationMessage) Reset()
- func (x *NotificationMessage) String() string
- type NotificationMessage_AdminOnly
- type NotificationMessage_Permission
- type NotificationMessage_UserId
- type RemoveTaskRequest
- func (*RemoveTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTaskRequest) GetTask() string
- func (x *RemoveTaskRequest) GetTaskId() uint64
- func (*RemoveTaskRequest) ProtoMessage()
- func (x *RemoveTaskRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTaskRequest) Reset()
- func (x *RemoveTaskRequest) String() string
- type RemoveTaskResponse
- func (*RemoveTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTaskResponse) GetErrorMessage() string
- func (x *RemoveTaskResponse) GetSuccess() bool
- func (*RemoveTaskResponse) ProtoMessage()
- func (x *RemoveTaskResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveTaskResponse) Reset()
- func (x *RemoveTaskResponse) String() string
- type SendNotificationResponse
- func (*SendNotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendNotificationResponse) GetErrorMessage() string
- func (x *SendNotificationResponse) GetSuccess() bool
- func (*SendNotificationResponse) ProtoMessage()
- func (x *SendNotificationResponse) ProtoReflect() protoreflect.Message
- func (x *SendNotificationResponse) Reset()
- func (x *SendNotificationResponse) String() string
- type SendTaskResponse
- func (*SendTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendTaskResponse) GetErrorMessage() string
- func (x *SendTaskResponse) GetSuccess() bool
- func (*SendTaskResponse) ProtoMessage()
- func (x *SendTaskResponse) ProtoReflect() protoreflect.Message
- func (x *SendTaskResponse) Reset()
- func (x *SendTaskResponse) String() string
- type SendWebSocketRequest
- func (*SendWebSocketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendWebSocketRequest) GetAdminOnly() bool
- func (x *SendWebSocketRequest) GetCommand() string
- func (x *SendWebSocketRequest) GetDataJson() string
- func (x *SendWebSocketRequest) GetPermission() string
- func (*SendWebSocketRequest) ProtoMessage()
- func (x *SendWebSocketRequest) ProtoReflect() protoreflect.Message
- func (x *SendWebSocketRequest) Reset()
- func (x *SendWebSocketRequest) String() string
- type SendWebSocketResponse
- type TaskAction
- func (*TaskAction) Descriptor() ([]byte, []int)deprecated
- func (x *TaskAction) GetCommand() map[string]string
- func (x *TaskAction) GetTitle() string
- func (x *TaskAction) GetUrl() string
- func (*TaskAction) ProtoMessage()
- func (x *TaskAction) ProtoReflect() protoreflect.Message
- func (x *TaskAction) Reset()
- func (x *TaskAction) String() string
- type TaskMessage
- func (*TaskMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TaskMessage) GetActions() []*TaskAction
- func (x *TaskMessage) GetAdminOnly() bool
- func (x *TaskMessage) GetBaseId() string
- func (x *TaskMessage) GetColor() string
- func (x *TaskMessage) GetCreatedAt() string
- func (x *TaskMessage) GetIcon() string
- func (x *TaskMessage) GetMessage() string
- func (x *TaskMessage) GetPermission() string
- func (x *TaskMessage) GetTask() string
- func (x *TaskMessage) GetTaskId() uint64
- func (x *TaskMessage) GetTitle() string
- func (x *TaskMessage) GetUrl() string
- func (x *TaskMessage) GetUserId() uint64
- func (m *TaskMessage) GetWho() isTaskMessage_Who
- func (*TaskMessage) ProtoMessage()
- func (x *TaskMessage) ProtoReflect() protoreflect.Message
- func (x *TaskMessage) Reset()
- func (x *TaskMessage) String() string
- type TaskMessage_AdminOnly
- type TaskMessage_Permission
- type TaskMessage_UserId
- type UnimplementedWebServer
- func (UnimplementedWebServer) RemoveTask(context.Context, *RemoveTaskRequest) (*RemoveTaskResponse, error)
- func (UnimplementedWebServer) SendNotification(context.Context, *NotificationMessage) (*SendNotificationResponse, error)
- func (UnimplementedWebServer) SendTask(context.Context, *TaskMessage) (*SendTaskResponse, error)
- func (UnimplementedWebServer) SendWebSocket(context.Context, *SendWebSocketRequest) (*SendWebSocketResponse, error)
- type UnsafeWebServer
- type WebClient
- type WebServer
Constants ¶
This section is empty.
Variables ¶
var File_web_proto protoreflect.FileDescriptor
var Web_ServiceDesc = grpc.ServiceDesc{ ServiceName: "web.Web", HandlerType: (*WebServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendNotification", Handler: _Web_SendNotification_Handler, }, { MethodName: "SendTask", Handler: _Web_SendTask_Handler, }, { MethodName: "RemoveTask", Handler: _Web_RemoveTask_Handler, }, { MethodName: "SendWebSocket", Handler: _Web_SendWebSocket_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "web.proto", }
Web_ServiceDesc is the grpc.ServiceDesc for Web service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWebServer ¶
func RegisterWebServer(s grpc.ServiceRegistrar, srv WebServer)
Types ¶
type NotificationMessage ¶
type NotificationMessage struct { Notification string `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` BaseId string `protobuf:"bytes,2,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` NotificationId uint64 `protobuf:"varint,3,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` Color string `protobuf:"bytes,7,opt,name=color,proto3" json:"color,omitempty"` Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` Message string `protobuf:"bytes,9,opt,name=message,proto3" json:"message,omitempty"` // Types that are assignable to Who: // *NotificationMessage_AdminOnly // *NotificationMessage_Permission // *NotificationMessage_UserId Who isNotificationMessage_Who `protobuf_oneof:"who"` // contains filtered or unexported fields }
func (*NotificationMessage) Descriptor
deprecated
func (*NotificationMessage) Descriptor() ([]byte, []int)
Deprecated: Use NotificationMessage.ProtoReflect.Descriptor instead.
func (*NotificationMessage) GetAdminOnly ¶
func (x *NotificationMessage) GetAdminOnly() bool
func (*NotificationMessage) GetBaseId ¶
func (x *NotificationMessage) GetBaseId() string
func (*NotificationMessage) GetColor ¶
func (x *NotificationMessage) GetColor() string
func (*NotificationMessage) GetCreatedAt ¶
func (x *NotificationMessage) GetCreatedAt() string
func (*NotificationMessage) GetIcon ¶
func (x *NotificationMessage) GetIcon() string
func (*NotificationMessage) GetMessage ¶
func (x *NotificationMessage) GetMessage() string
func (*NotificationMessage) GetNotification ¶
func (x *NotificationMessage) GetNotification() string
func (*NotificationMessage) GetNotificationId ¶
func (x *NotificationMessage) GetNotificationId() uint64
func (*NotificationMessage) GetPermission ¶
func (x *NotificationMessage) GetPermission() string
func (*NotificationMessage) GetTitle ¶
func (x *NotificationMessage) GetTitle() string
func (*NotificationMessage) GetUrl ¶
func (x *NotificationMessage) GetUrl() string
func (*NotificationMessage) GetUserId ¶
func (x *NotificationMessage) GetUserId() uint64
func (*NotificationMessage) GetWho ¶
func (m *NotificationMessage) GetWho() isNotificationMessage_Who
func (*NotificationMessage) ProtoMessage ¶
func (*NotificationMessage) ProtoMessage()
func (*NotificationMessage) ProtoReflect ¶
func (x *NotificationMessage) ProtoReflect() protoreflect.Message
func (*NotificationMessage) Reset ¶
func (x *NotificationMessage) Reset()
func (*NotificationMessage) String ¶
func (x *NotificationMessage) String() string
type NotificationMessage_AdminOnly ¶
type NotificationMessage_AdminOnly struct {
AdminOnly bool `protobuf:"varint,10,opt,name=admin_only,json=adminOnly,proto3,oneof"`
}
type NotificationMessage_Permission ¶
type NotificationMessage_Permission struct {
Permission string `protobuf:"bytes,11,opt,name=permission,proto3,oneof"`
}
type NotificationMessage_UserId ¶
type NotificationMessage_UserId struct {
UserId uint64 `protobuf:"varint,12,opt,name=user_id,json=userId,proto3,oneof"`
}
type RemoveTaskRequest ¶
type RemoveTaskRequest struct { Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` TaskId uint64 `protobuf:"varint,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveTaskRequest) Descriptor
deprecated
func (*RemoveTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTaskRequest.ProtoReflect.Descriptor instead.
func (*RemoveTaskRequest) GetTask ¶
func (x *RemoveTaskRequest) GetTask() string
func (*RemoveTaskRequest) GetTaskId ¶
func (x *RemoveTaskRequest) GetTaskId() uint64
func (*RemoveTaskRequest) ProtoMessage ¶
func (*RemoveTaskRequest) ProtoMessage()
func (*RemoveTaskRequest) ProtoReflect ¶
func (x *RemoveTaskRequest) ProtoReflect() protoreflect.Message
func (*RemoveTaskRequest) Reset ¶
func (x *RemoveTaskRequest) Reset()
func (*RemoveTaskRequest) String ¶
func (x *RemoveTaskRequest) String() string
type RemoveTaskResponse ¶
type RemoveTaskResponse 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"` // contains filtered or unexported fields }
func (*RemoveTaskResponse) Descriptor
deprecated
func (*RemoveTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTaskResponse.ProtoReflect.Descriptor instead.
func (*RemoveTaskResponse) GetErrorMessage ¶
func (x *RemoveTaskResponse) GetErrorMessage() string
func (*RemoveTaskResponse) GetSuccess ¶
func (x *RemoveTaskResponse) GetSuccess() bool
func (*RemoveTaskResponse) ProtoMessage ¶
func (*RemoveTaskResponse) ProtoMessage()
func (*RemoveTaskResponse) ProtoReflect ¶
func (x *RemoveTaskResponse) ProtoReflect() protoreflect.Message
func (*RemoveTaskResponse) Reset ¶
func (x *RemoveTaskResponse) Reset()
func (*RemoveTaskResponse) String ¶
func (x *RemoveTaskResponse) String() string
type SendNotificationResponse ¶
type SendNotificationResponse 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"` // contains filtered or unexported fields }
func (*SendNotificationResponse) Descriptor
deprecated
func (*SendNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendNotificationResponse.ProtoReflect.Descriptor instead.
func (*SendNotificationResponse) GetErrorMessage ¶
func (x *SendNotificationResponse) GetErrorMessage() string
func (*SendNotificationResponse) GetSuccess ¶
func (x *SendNotificationResponse) GetSuccess() bool
func (*SendNotificationResponse) ProtoMessage ¶
func (*SendNotificationResponse) ProtoMessage()
func (*SendNotificationResponse) ProtoReflect ¶
func (x *SendNotificationResponse) ProtoReflect() protoreflect.Message
func (*SendNotificationResponse) Reset ¶
func (x *SendNotificationResponse) Reset()
func (*SendNotificationResponse) String ¶
func (x *SendNotificationResponse) String() string
type SendTaskResponse ¶
type SendTaskResponse 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"` // contains filtered or unexported fields }
func (*SendTaskResponse) Descriptor
deprecated
func (*SendTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendTaskResponse.ProtoReflect.Descriptor instead.
func (*SendTaskResponse) GetErrorMessage ¶
func (x *SendTaskResponse) GetErrorMessage() string
func (*SendTaskResponse) GetSuccess ¶
func (x *SendTaskResponse) GetSuccess() bool
func (*SendTaskResponse) ProtoMessage ¶
func (*SendTaskResponse) ProtoMessage()
func (*SendTaskResponse) ProtoReflect ¶
func (x *SendTaskResponse) ProtoReflect() protoreflect.Message
func (*SendTaskResponse) Reset ¶
func (x *SendTaskResponse) Reset()
func (*SendTaskResponse) String ¶
func (x *SendTaskResponse) String() string
type SendWebSocketRequest ¶
type SendWebSocketRequest struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` AdminOnly bool `protobuf:"varint,2,opt,name=admin_only,json=adminOnly,proto3" json:"admin_only,omitempty"` Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` DataJson string `protobuf:"bytes,4,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"` // contains filtered or unexported fields }
func (*SendWebSocketRequest) Descriptor
deprecated
func (*SendWebSocketRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendWebSocketRequest.ProtoReflect.Descriptor instead.
func (*SendWebSocketRequest) GetAdminOnly ¶
func (x *SendWebSocketRequest) GetAdminOnly() bool
func (*SendWebSocketRequest) GetCommand ¶
func (x *SendWebSocketRequest) GetCommand() string
func (*SendWebSocketRequest) GetDataJson ¶
func (x *SendWebSocketRequest) GetDataJson() string
func (*SendWebSocketRequest) GetPermission ¶
func (x *SendWebSocketRequest) GetPermission() string
func (*SendWebSocketRequest) ProtoMessage ¶
func (*SendWebSocketRequest) ProtoMessage()
func (*SendWebSocketRequest) ProtoReflect ¶
func (x *SendWebSocketRequest) ProtoReflect() protoreflect.Message
func (*SendWebSocketRequest) Reset ¶
func (x *SendWebSocketRequest) Reset()
func (*SendWebSocketRequest) String ¶
func (x *SendWebSocketRequest) String() string
type SendWebSocketResponse ¶
type SendWebSocketResponse struct {
// contains filtered or unexported fields
}
func (*SendWebSocketResponse) Descriptor
deprecated
func (*SendWebSocketResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendWebSocketResponse.ProtoReflect.Descriptor instead.
func (*SendWebSocketResponse) ProtoMessage ¶
func (*SendWebSocketResponse) ProtoMessage()
func (*SendWebSocketResponse) ProtoReflect ¶
func (x *SendWebSocketResponse) ProtoReflect() protoreflect.Message
func (*SendWebSocketResponse) Reset ¶
func (x *SendWebSocketResponse) Reset()
func (*SendWebSocketResponse) String ¶
func (x *SendWebSocketResponse) String() string
type TaskAction ¶
type TaskAction struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Command map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TaskAction) Descriptor
deprecated
func (*TaskAction) Descriptor() ([]byte, []int)
Deprecated: Use TaskAction.ProtoReflect.Descriptor instead.
func (*TaskAction) GetCommand ¶
func (x *TaskAction) GetCommand() map[string]string
func (*TaskAction) GetTitle ¶
func (x *TaskAction) GetTitle() string
func (*TaskAction) GetUrl ¶
func (x *TaskAction) GetUrl() string
func (*TaskAction) ProtoMessage ¶
func (*TaskAction) ProtoMessage()
func (*TaskAction) ProtoReflect ¶
func (x *TaskAction) ProtoReflect() protoreflect.Message
func (*TaskAction) Reset ¶
func (x *TaskAction) Reset()
func (*TaskAction) String ¶
func (x *TaskAction) String() string
type TaskMessage ¶
type TaskMessage struct { Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` BaseId string `protobuf:"bytes,2,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` TaskId uint64 `protobuf:"varint,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` Color string `protobuf:"bytes,7,opt,name=color,proto3" json:"color,omitempty"` Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` Message string `protobuf:"bytes,9,opt,name=message,proto3" json:"message,omitempty"` Actions []*TaskAction `protobuf:"bytes,10,rep,name=actions,proto3" json:"actions,omitempty"` // Types that are assignable to Who: // *TaskMessage_AdminOnly // *TaskMessage_Permission // *TaskMessage_UserId Who isTaskMessage_Who `protobuf_oneof:"who"` // contains filtered or unexported fields }
func (*TaskMessage) Descriptor
deprecated
func (*TaskMessage) Descriptor() ([]byte, []int)
Deprecated: Use TaskMessage.ProtoReflect.Descriptor instead.
func (*TaskMessage) GetActions ¶
func (x *TaskMessage) GetActions() []*TaskAction
func (*TaskMessage) GetAdminOnly ¶
func (x *TaskMessage) GetAdminOnly() bool
func (*TaskMessage) GetBaseId ¶
func (x *TaskMessage) GetBaseId() string
func (*TaskMessage) GetColor ¶
func (x *TaskMessage) GetColor() string
func (*TaskMessage) GetCreatedAt ¶
func (x *TaskMessage) GetCreatedAt() string
func (*TaskMessage) GetIcon ¶
func (x *TaskMessage) GetIcon() string
func (*TaskMessage) GetMessage ¶
func (x *TaskMessage) GetMessage() string
func (*TaskMessage) GetPermission ¶
func (x *TaskMessage) GetPermission() string
func (*TaskMessage) GetTask ¶
func (x *TaskMessage) GetTask() string
func (*TaskMessage) GetTaskId ¶
func (x *TaskMessage) GetTaskId() uint64
func (*TaskMessage) GetTitle ¶
func (x *TaskMessage) GetTitle() string
func (*TaskMessage) GetUrl ¶
func (x *TaskMessage) GetUrl() string
func (*TaskMessage) GetUserId ¶
func (x *TaskMessage) GetUserId() uint64
func (*TaskMessage) GetWho ¶
func (m *TaskMessage) GetWho() isTaskMessage_Who
func (*TaskMessage) ProtoMessage ¶
func (*TaskMessage) ProtoMessage()
func (*TaskMessage) ProtoReflect ¶
func (x *TaskMessage) ProtoReflect() protoreflect.Message
func (*TaskMessage) Reset ¶
func (x *TaskMessage) Reset()
func (*TaskMessage) String ¶
func (x *TaskMessage) String() string
type TaskMessage_AdminOnly ¶
type TaskMessage_AdminOnly struct {
AdminOnly bool `protobuf:"varint,11,opt,name=admin_only,json=adminOnly,proto3,oneof"`
}
type TaskMessage_Permission ¶
type TaskMessage_Permission struct {
Permission string `protobuf:"bytes,12,opt,name=permission,proto3,oneof"`
}
type TaskMessage_UserId ¶
type TaskMessage_UserId struct {
UserId uint64 `protobuf:"varint,13,opt,name=user_id,json=userId,proto3,oneof"`
}
type UnimplementedWebServer ¶
type UnimplementedWebServer struct { }
UnimplementedWebServer must be embedded to have forward compatible implementations.
func (UnimplementedWebServer) RemoveTask ¶
func (UnimplementedWebServer) RemoveTask(context.Context, *RemoveTaskRequest) (*RemoveTaskResponse, error)
func (UnimplementedWebServer) SendNotification ¶
func (UnimplementedWebServer) SendNotification(context.Context, *NotificationMessage) (*SendNotificationResponse, error)
func (UnimplementedWebServer) SendTask ¶
func (UnimplementedWebServer) SendTask(context.Context, *TaskMessage) (*SendTaskResponse, error)
func (UnimplementedWebServer) SendWebSocket ¶
func (UnimplementedWebServer) SendWebSocket(context.Context, *SendWebSocketRequest) (*SendWebSocketResponse, error)
type UnsafeWebServer ¶
type UnsafeWebServer interface {
// contains filtered or unexported methods
}
UnsafeWebServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebServer will result in compilation errors.
type WebClient ¶
type WebClient interface { SendNotification(ctx context.Context, in *NotificationMessage, opts ...grpc.CallOption) (*SendNotificationResponse, error) SendTask(ctx context.Context, in *TaskMessage, opts ...grpc.CallOption) (*SendTaskResponse, error) RemoveTask(ctx context.Context, in *RemoveTaskRequest, opts ...grpc.CallOption) (*RemoveTaskResponse, error) SendWebSocket(ctx context.Context, in *SendWebSocketRequest, opts ...grpc.CallOption) (*SendWebSocketResponse, error) }
WebClient is the client API for Web 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 NewWebClient ¶
func NewWebClient(cc grpc.ClientConnInterface) WebClient
type WebServer ¶
type WebServer interface { SendNotification(context.Context, *NotificationMessage) (*SendNotificationResponse, error) SendTask(context.Context, *TaskMessage) (*SendTaskResponse, error) RemoveTask(context.Context, *RemoveTaskRequest) (*RemoveTaskResponse, error) SendWebSocket(context.Context, *SendWebSocketRequest) (*SendWebSocketResponse, error) // contains filtered or unexported methods }
WebServer is the server API for Web service. All implementations must embed UnimplementedWebServer for forward compatibility