Documentation
¶
Index ¶
- type DeviceServer
- func (s *DeviceServer) Close(_ context.Context, req *pb.CloseRequest) (*pb.CloseResponse, error)
- func (s *DeviceServer) DeleteObject(_ context.Context, req *pb.DeleteObjectRequest) (*pb.DeleteObjectResponse, error)
- func (s *DeviceServer) GetDeviceId(_ context.Context, req *pb.GetDeviceIdRequest) (*pb.GetDeviceIdResponse, error)
- func (s *DeviceServer) GetDeviceInfo(_ context.Context, req *pb.GetDeviceInfoRequest) (*pb.GetDeviceInfoResponse, error)
- func (s *DeviceServer) GetDeviceName(_ context.Context, req *pb.GetDeviceNameRequest) (*pb.GetDeviceNameResponse, error)
- func (s *DeviceServer) GetObject(_ context.Context, req *pb.GetObjectRequest) (*pb.GetObjectResponse, error)
- func (s *DeviceServer) GetObjectHandles(_ context.Context, req *pb.GetObjectHandlesRequest) (*pb.GetObjectHandlesResponse, error)
- func (s *DeviceServer) GetObjectInfo(_ context.Context, req *pb.GetObjectInfoRequest) (*pb.GetObjectInfoResponse, error)
- func (s *DeviceServer) GetParent(_ context.Context, req *pb.DeviceGetParentRequest) (*pb.DeviceGetParentResponse, error)
- func (s *DeviceServer) GetPartialObject(_ context.Context, req *pb.GetPartialObjectRequest) (*pb.GetPartialObjectResponse, error)
- func (s *DeviceServer) GetPartialObject64(_ context.Context, req *pb.GetPartialObject64Request) (*pb.GetPartialObject64Response, error)
- func (s *DeviceServer) GetStorageId(_ context.Context, req *pb.DeviceGetStorageIdRequest) (*pb.DeviceGetStorageIdResponse, error)
- func (s *DeviceServer) GetStorageIds(_ context.Context, req *pb.GetStorageIdsRequest) (*pb.GetStorageIdsResponse, error)
- func (s *DeviceServer) GetStorageInfo(_ context.Context, req *pb.GetStorageInfoRequest) (*pb.GetStorageInfoResponse, error)
- func (s *DeviceServer) GetThumbnail(_ context.Context, req *pb.GetThumbnailRequest) (*pb.GetThumbnailResponse, error)
- func (s *DeviceServer) ImportFile2(_ context.Context, req *pb.ImportFile2Request) (*pb.ImportFile2Response, error)
- func (s *DeviceServer) ImportFile2_1(_ context.Context, req *pb.ImportFile2_1Request) (*pb.ImportFile2_1Response, error)
- func (s *DeviceServer) NewDevice(_ context.Context, req *pb.NewDeviceRequest) (*pb.NewDeviceResponse, error)
- func (s *DeviceServer) Open(_ context.Context, req *pb.OpenRequest) (*pb.OpenResponse, error)
- func (s *DeviceServer) ReadEvent(_ context.Context, req *pb.ReadEventRequest) (*pb.ReadEventResponse, error)
- func (s *DeviceServer) SendObject(_ context.Context, req *pb.SendObjectRequest) (*pb.SendObjectResponse, error)
- func (s *DeviceServer) SendObjectInfo(_ context.Context, req *pb.SendObjectInfoRequest) (*pb.SendObjectInfoResponse, error)
- func (s *DeviceServer) ToString(_ context.Context, req *pb.ToStringRequest) (*pb.ToStringResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceServer ¶
type DeviceServer struct {
pb.UnimplementedDeviceServiceServer
Ctx *app.Context
Handles *handlestore.HandleStore
}
DeviceServer implements pb.DeviceServiceServer.
func (*DeviceServer) Close ¶
func (s *DeviceServer) Close(_ context.Context, req *pb.CloseRequest) (*pb.CloseResponse, error)
func (*DeviceServer) DeleteObject ¶
func (s *DeviceServer) DeleteObject(_ context.Context, req *pb.DeleteObjectRequest) (*pb.DeleteObjectResponse, error)
func (*DeviceServer) GetDeviceId ¶
func (s *DeviceServer) GetDeviceId(_ context.Context, req *pb.GetDeviceIdRequest) (*pb.GetDeviceIdResponse, error)
func (*DeviceServer) GetDeviceInfo ¶
func (s *DeviceServer) GetDeviceInfo(_ context.Context, req *pb.GetDeviceInfoRequest) (*pb.GetDeviceInfoResponse, error)
func (*DeviceServer) GetDeviceName ¶
func (s *DeviceServer) GetDeviceName(_ context.Context, req *pb.GetDeviceNameRequest) (*pb.GetDeviceNameResponse, error)
func (*DeviceServer) GetObject ¶
func (s *DeviceServer) GetObject(_ context.Context, req *pb.GetObjectRequest) (*pb.GetObjectResponse, error)
func (*DeviceServer) GetObjectHandles ¶
func (s *DeviceServer) GetObjectHandles(_ context.Context, req *pb.GetObjectHandlesRequest) (*pb.GetObjectHandlesResponse, error)
func (*DeviceServer) GetObjectInfo ¶
func (s *DeviceServer) GetObjectInfo(_ context.Context, req *pb.GetObjectInfoRequest) (*pb.GetObjectInfoResponse, error)
func (*DeviceServer) GetParent ¶
func (s *DeviceServer) GetParent(_ context.Context, req *pb.DeviceGetParentRequest) (*pb.DeviceGetParentResponse, error)
func (*DeviceServer) GetPartialObject ¶
func (s *DeviceServer) GetPartialObject(_ context.Context, req *pb.GetPartialObjectRequest) (*pb.GetPartialObjectResponse, error)
func (*DeviceServer) GetPartialObject64 ¶
func (s *DeviceServer) GetPartialObject64(_ context.Context, req *pb.GetPartialObject64Request) (*pb.GetPartialObject64Response, error)
func (*DeviceServer) GetStorageId ¶
func (s *DeviceServer) GetStorageId(_ context.Context, req *pb.DeviceGetStorageIdRequest) (*pb.DeviceGetStorageIdResponse, error)
func (*DeviceServer) GetStorageIds ¶
func (s *DeviceServer) GetStorageIds(_ context.Context, req *pb.GetStorageIdsRequest) (*pb.GetStorageIdsResponse, error)
func (*DeviceServer) GetStorageInfo ¶
func (s *DeviceServer) GetStorageInfo(_ context.Context, req *pb.GetStorageInfoRequest) (*pb.GetStorageInfoResponse, error)
func (*DeviceServer) GetThumbnail ¶
func (s *DeviceServer) GetThumbnail(_ context.Context, req *pb.GetThumbnailRequest) (*pb.GetThumbnailResponse, error)
func (*DeviceServer) ImportFile2 ¶
func (s *DeviceServer) ImportFile2(_ context.Context, req *pb.ImportFile2Request) (*pb.ImportFile2Response, error)
func (*DeviceServer) ImportFile2_1 ¶
func (s *DeviceServer) ImportFile2_1(_ context.Context, req *pb.ImportFile2_1Request) (*pb.ImportFile2_1Response, error)
func (*DeviceServer) NewDevice ¶
func (s *DeviceServer) NewDevice(_ context.Context, req *pb.NewDeviceRequest) (*pb.NewDeviceResponse, error)
func (*DeviceServer) Open ¶
func (s *DeviceServer) Open(_ context.Context, req *pb.OpenRequest) (*pb.OpenResponse, error)
func (*DeviceServer) ReadEvent ¶
func (s *DeviceServer) ReadEvent(_ context.Context, req *pb.ReadEventRequest) (*pb.ReadEventResponse, error)
func (*DeviceServer) SendObject ¶
func (s *DeviceServer) SendObject(_ context.Context, req *pb.SendObjectRequest) (*pb.SendObjectResponse, error)
func (*DeviceServer) SendObjectInfo ¶
func (s *DeviceServer) SendObjectInfo(_ context.Context, req *pb.SendObjectInfoRequest) (*pb.SendObjectInfoResponse, error)
func (*DeviceServer) ToString ¶
func (s *DeviceServer) ToString(_ context.Context, req *pb.ToStringRequest) (*pb.ToStringResponse, error)
Click to show internal directories.
Click to hide internal directories.