apipb

package
v0.0.0-...-7aaaf19 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageService_UploadObject_FullMethodName         = "/apipb.StorageService/UploadObject"
	StorageService_DownloadObject_FullMethodName       = "/apipb.StorageService/DownloadObject"
	StorageService_DeleteObject_FullMethodName         = "/apipb.StorageService/DeleteObject"
	StorageService_ShareObject_FullMethodName          = "/apipb.StorageService/ShareObject"
	StorageService_DownloadSharedObject_FullMethodName = "/apipb.StorageService/DownloadSharedObject"
	StorageService_ListObject_FullMethodName           = "/apipb.StorageService/ListObject"
	StorageService_Register_FullMethodName             = "/apipb.StorageService/Register"
	StorageService_BasicAuth_FullMethodName            = "/apipb.StorageService/BasicAuth"
	StorageService_TokenAuth_FullMethodName            = "/apipb.StorageService/TokenAuth"
)

Variables

View Source
var File_handler_api_apipb_message_proto protoreflect.FileDescriptor
View Source
var File_handler_api_apipb_service_proto protoreflect.FileDescriptor
View Source
var StorageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "apipb.StorageService",
	HandlerType: (*StorageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeleteObject",
			Handler:    _StorageService_DeleteObject_Handler,
		},
		{
			MethodName: "ShareObject",
			Handler:    _StorageService_ShareObject_Handler,
		},
		{
			MethodName: "Register",
			Handler:    _StorageService_Register_Handler,
		},
		{
			MethodName: "BasicAuth",
			Handler:    _StorageService_BasicAuth_Handler,
		},
		{
			MethodName: "TokenAuth",
			Handler:    _StorageService_TokenAuth_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "UploadObject",
			Handler:       _StorageService_UploadObject_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "DownloadObject",
			Handler:       _StorageService_DownloadObject_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DownloadSharedObject",
			Handler:       _StorageService_DownloadSharedObject_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListObject",
			Handler:       _StorageService_ListObject_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "handler/api/apipb/service.proto",
}

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

Functions

func RegisterStorageServiceServer

func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)

Types

type BasicAuthRequest

type BasicAuthRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*BasicAuthRequest) Descriptor deprecated

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

Deprecated: Use BasicAuthRequest.ProtoReflect.Descriptor instead.

func (*BasicAuthRequest) GetPassword

func (x *BasicAuthRequest) GetPassword() string

func (*BasicAuthRequest) GetUsername

func (x *BasicAuthRequest) GetUsername() string

func (*BasicAuthRequest) ProtoMessage

func (*BasicAuthRequest) ProtoMessage()

func (*BasicAuthRequest) ProtoReflect

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

func (*BasicAuthRequest) Reset

func (x *BasicAuthRequest) Reset()

func (*BasicAuthRequest) String

func (x *BasicAuthRequest) String() string

type BasicAuthResponse

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

func (*BasicAuthResponse) Descriptor deprecated

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

Deprecated: Use BasicAuthResponse.ProtoReflect.Descriptor instead.

func (*BasicAuthResponse) GetToken

func (x *BasicAuthResponse) GetToken() string

func (*BasicAuthResponse) ProtoMessage

func (*BasicAuthResponse) ProtoMessage()

func (*BasicAuthResponse) ProtoReflect

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

func (*BasicAuthResponse) Reset

func (x *BasicAuthResponse) Reset()

func (*BasicAuthResponse) String

func (x *BasicAuthResponse) String() string

type DeleteRequest

type DeleteRequest struct {
	UserToken string `protobuf:"bytes,1,opt,name=userToken,proto3" json:"userToken,omitempty"`
	Filename  string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetFilename

func (x *DeleteRequest) GetFilename() string

func (*DeleteRequest) GetUserToken

func (x *DeleteRequest) GetUserToken() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	DeleteAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=DeleteAt,proto3" json:"DeleteAt,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetDeleteAt

func (x *DeleteResponse) GetDeleteAt() *timestamp.Timestamp

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DownloadRequest

type DownloadRequest struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadRequest) Descriptor deprecated

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

Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.

func (*DownloadRequest) GetFilename

func (x *DownloadRequest) GetFilename() string

func (*DownloadRequest) GetToken

func (x *DownloadRequest) GetToken() string

func (*DownloadRequest) ProtoMessage

func (*DownloadRequest) ProtoMessage()

func (*DownloadRequest) ProtoReflect

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

func (*DownloadRequest) Reset

func (x *DownloadRequest) Reset()

func (*DownloadRequest) String

func (x *DownloadRequest) String() string

type DownloadResponse

type DownloadResponse struct {
	TotalSize   int64  `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize,omitempty"`
	Chunk       []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
	ContentType string `protobuf:"bytes,3,opt,name=contentType,proto3" json:"contentType,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadResponse) Descriptor deprecated

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

Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.

func (*DownloadResponse) GetChunk

func (x *DownloadResponse) GetChunk() []byte

func (*DownloadResponse) GetContentType

func (x *DownloadResponse) GetContentType() string

func (*DownloadResponse) GetTotalSize

func (x *DownloadResponse) GetTotalSize() int64

func (*DownloadResponse) ProtoMessage

func (*DownloadResponse) ProtoMessage()

func (*DownloadResponse) ProtoReflect

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

func (*DownloadResponse) Reset

func (x *DownloadResponse) Reset()

func (*DownloadResponse) String

func (x *DownloadResponse) String() string

type DownloadSharedRequest

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

func (*DownloadSharedRequest) Descriptor deprecated

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

Deprecated: Use DownloadSharedRequest.ProtoReflect.Descriptor instead.

func (*DownloadSharedRequest) GetSharedToken

func (x *DownloadSharedRequest) GetSharedToken() string

func (*DownloadSharedRequest) ProtoMessage

func (*DownloadSharedRequest) ProtoMessage()

func (*DownloadSharedRequest) ProtoReflect

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

func (*DownloadSharedRequest) Reset

func (x *DownloadSharedRequest) Reset()

func (*DownloadSharedRequest) String

func (x *DownloadSharedRequest) String() string

type ListObjectRequest

type ListObjectRequest struct {
	UserToken    string `protobuf:"bytes,2,opt,name=userToken,proto3" json:"userToken,omitempty"`
	Limit        int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	LastFilename string `protobuf:"bytes,4,opt,name=lastFilename,proto3" json:"lastFilename,omitempty"`
	// contains filtered or unexported fields
}

func (*ListObjectRequest) Descriptor deprecated

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

Deprecated: Use ListObjectRequest.ProtoReflect.Descriptor instead.

func (*ListObjectRequest) GetLastFilename

func (x *ListObjectRequest) GetLastFilename() string

func (*ListObjectRequest) GetLimit

func (x *ListObjectRequest) GetLimit() int32

func (*ListObjectRequest) GetUserToken

func (x *ListObjectRequest) GetUserToken() string

func (*ListObjectRequest) ProtoMessage

func (*ListObjectRequest) ProtoMessage()

func (*ListObjectRequest) ProtoReflect

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

func (*ListObjectRequest) Reset

func (x *ListObjectRequest) Reset()

func (*ListObjectRequest) String

func (x *ListObjectRequest) String() string

type ListObjectResponse

type ListObjectResponse struct {
	UserID       string               `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Filename     string               `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	Size         int64                `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Sum          string               `protobuf:"bytes,4,opt,name=sum,proto3" json:"sum,omitempty"`
	ContentType  string               `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"`
	LastModified *timestamp.Timestamp `protobuf:"bytes,6,opt,name=lastModified,proto3" json:"lastModified,omitempty"`
	// contains filtered or unexported fields
}

func (*ListObjectResponse) Descriptor deprecated

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

Deprecated: Use ListObjectResponse.ProtoReflect.Descriptor instead.

func (*ListObjectResponse) GetContentType

func (x *ListObjectResponse) GetContentType() string

func (*ListObjectResponse) GetFilename

func (x *ListObjectResponse) GetFilename() string

func (*ListObjectResponse) GetLastModified

func (x *ListObjectResponse) GetLastModified() *timestamp.Timestamp

func (*ListObjectResponse) GetSize

func (x *ListObjectResponse) GetSize() int64

func (*ListObjectResponse) GetSum

func (x *ListObjectResponse) GetSum() string

func (*ListObjectResponse) GetUserID

func (x *ListObjectResponse) GetUserID() string

func (*ListObjectResponse) ProtoMessage

func (*ListObjectResponse) ProtoMessage()

func (*ListObjectResponse) ProtoReflect

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

func (*ListObjectResponse) Reset

func (x *ListObjectResponse) Reset()

func (*ListObjectResponse) String

func (x *ListObjectResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

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

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetUserID

func (x *RegisterResponse) GetUserID() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type ShareObjectRequest

type ShareObjectRequest struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareObjectRequest) Descriptor deprecated

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

Deprecated: Use ShareObjectRequest.ProtoReflect.Descriptor instead.

func (*ShareObjectRequest) GetFilename

func (x *ShareObjectRequest) GetFilename() string

func (*ShareObjectRequest) GetToken

func (x *ShareObjectRequest) GetToken() string

func (*ShareObjectRequest) ProtoMessage

func (*ShareObjectRequest) ProtoMessage()

func (*ShareObjectRequest) ProtoReflect

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

func (*ShareObjectRequest) Reset

func (x *ShareObjectRequest) Reset()

func (*ShareObjectRequest) String

func (x *ShareObjectRequest) String() string

type ShareObjectResponse

type ShareObjectResponse struct {
	ShareToken string               `protobuf:"bytes,1,opt,name=shareToken,proto3" json:"shareToken,omitempty"`
	ValidUntil *timestamp.Timestamp `protobuf:"bytes,2,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareObjectResponse) Descriptor deprecated

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

Deprecated: Use ShareObjectResponse.ProtoReflect.Descriptor instead.

func (*ShareObjectResponse) GetShareToken

func (x *ShareObjectResponse) GetShareToken() string

func (*ShareObjectResponse) GetValidUntil

func (x *ShareObjectResponse) GetValidUntil() *timestamp.Timestamp

func (*ShareObjectResponse) ProtoMessage

func (*ShareObjectResponse) ProtoMessage()

func (*ShareObjectResponse) ProtoReflect

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

func (*ShareObjectResponse) Reset

func (x *ShareObjectResponse) Reset()

func (*ShareObjectResponse) String

func (x *ShareObjectResponse) String() string

type StorageServiceClient

StorageServiceClient is the client API for StorageService 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 StorageServiceServer

StorageServiceServer is the server API for StorageService service. All implementations must embed UnimplementedStorageServiceServer for forward compatibility.

type StorageService_DownloadObjectClient

type StorageService_DownloadObjectClient = grpc.ServerStreamingClient[DownloadResponse]

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

type StorageService_DownloadObjectServer

type StorageService_DownloadObjectServer = grpc.ServerStreamingServer[DownloadResponse]

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

type StorageService_DownloadSharedObjectClient

type StorageService_DownloadSharedObjectClient = grpc.ServerStreamingClient[DownloadResponse]

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

type StorageService_DownloadSharedObjectServer

type StorageService_DownloadSharedObjectServer = grpc.ServerStreamingServer[DownloadResponse]

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

type StorageService_ListObjectClient

type StorageService_ListObjectClient = grpc.ServerStreamingClient[ListObjectResponse]

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

type StorageService_ListObjectServer

type StorageService_ListObjectServer = grpc.ServerStreamingServer[ListObjectResponse]

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

type StorageService_UploadObjectClient

type StorageService_UploadObjectClient = grpc.ClientStreamingClient[UploadRequest, UploadResponse]

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

type StorageService_UploadObjectServer

type StorageService_UploadObjectServer = grpc.ClientStreamingServer[UploadRequest, UploadResponse]

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

type TokenAuthRequest

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

func (*TokenAuthRequest) Descriptor deprecated

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

Deprecated: Use TokenAuthRequest.ProtoReflect.Descriptor instead.

func (*TokenAuthRequest) GetToken

func (x *TokenAuthRequest) GetToken() string

func (*TokenAuthRequest) ProtoMessage

func (*TokenAuthRequest) ProtoMessage()

func (*TokenAuthRequest) ProtoReflect

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

func (*TokenAuthRequest) Reset

func (x *TokenAuthRequest) Reset()

func (*TokenAuthRequest) String

func (x *TokenAuthRequest) String() string

type TokenAuthResponse

type TokenAuthResponse struct {
	UserID     string               `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	ValidUntil *timestamp.Timestamp `protobuf:"bytes,2,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenAuthResponse) Descriptor deprecated

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

Deprecated: Use TokenAuthResponse.ProtoReflect.Descriptor instead.

func (*TokenAuthResponse) GetUserID

func (x *TokenAuthResponse) GetUserID() string

func (*TokenAuthResponse) GetValidUntil

func (x *TokenAuthResponse) GetValidUntil() *timestamp.Timestamp

func (*TokenAuthResponse) ProtoMessage

func (*TokenAuthResponse) ProtoMessage()

func (*TokenAuthResponse) ProtoReflect

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

func (*TokenAuthResponse) Reset

func (x *TokenAuthResponse) Reset()

func (*TokenAuthResponse) String

func (x *TokenAuthResponse) String() string

type UnimplementedStorageServiceServer

type UnimplementedStorageServiceServer struct{}

UnimplementedStorageServiceServer 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 (UnimplementedStorageServiceServer) BasicAuth

func (UnimplementedStorageServiceServer) DeleteObject

func (UnimplementedStorageServiceServer) DownloadObject

func (UnimplementedStorageServiceServer) DownloadSharedObject

func (UnimplementedStorageServiceServer) Register

func (UnimplementedStorageServiceServer) ShareObject

func (UnimplementedStorageServiceServer) TokenAuth

func (UnimplementedStorageServiceServer) UploadObject

type UnsafeStorageServiceServer

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

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

type UploadRequest

type UploadRequest struct {
	Token       string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Filename    string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	ContentType string `protobuf:"bytes,3,opt,name=contentType,proto3" json:"contentType,omitempty"`
	TotalSize   int64  `protobuf:"varint,4,opt,name=totalSize,proto3" json:"totalSize,omitempty"`
	Chunk       []byte `protobuf:"bytes,5,opt,name=chunk,proto3" json:"chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadRequest) Descriptor deprecated

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

Deprecated: Use UploadRequest.ProtoReflect.Descriptor instead.

func (*UploadRequest) GetChunk

func (x *UploadRequest) GetChunk() []byte

func (*UploadRequest) GetContentType

func (x *UploadRequest) GetContentType() string

func (*UploadRequest) GetFilename

func (x *UploadRequest) GetFilename() string

func (*UploadRequest) GetToken

func (x *UploadRequest) GetToken() string

func (*UploadRequest) GetTotalSize

func (x *UploadRequest) GetTotalSize() int64

func (*UploadRequest) ProtoMessage

func (*UploadRequest) ProtoMessage()

func (*UploadRequest) ProtoReflect

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

func (*UploadRequest) Reset

func (x *UploadRequest) Reset()

func (*UploadRequest) String

func (x *UploadRequest) String() string

type UploadResponse

type UploadResponse struct {
	Sum string `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadResponse) Descriptor deprecated

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

Deprecated: Use UploadResponse.ProtoReflect.Descriptor instead.

func (*UploadResponse) GetSum

func (x *UploadResponse) GetSum() string

func (*UploadResponse) ProtoMessage

func (*UploadResponse) ProtoMessage()

func (*UploadResponse) ProtoReflect

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

func (*UploadResponse) Reset

func (x *UploadResponse) Reset()

func (*UploadResponse) String

func (x *UploadResponse) String() string

Jump to

Keyboard shortcuts

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