Versions in this module Expand all Collapse all v1 v1.10.0 May 25, 2024 v1.9.0 Feb 24, 2024 Changes in this version + const Image_Ping_FullMethodName + const Image_Upload_FullMethodName + var File_uplodr_proto protoreflect.FileDescriptor + var Image_ServiceDesc = grpc.ServiceDesc + func RegisterImageServer(s grpc.ServiceRegistrar, srv ImageServer) + type Echo struct + Nonce string + func (*Echo) Descriptor() ([]byte, []int) + func (*Echo) ProtoMessage() + func (x *Echo) GetNonce() string + func (x *Echo) ProtoReflect() protoreflect.Message + func (x *Echo) Reset() + func (x *Echo) String() string + type ImageClient interface + Ping func(ctx context.Context, in *Echo, opts ...grpc.CallOption) (*Echo, error) + Upload func(ctx context.Context, in *UploadReq, opts ...grpc.CallOption) (*UploadResp, error) + func NewImageClient(cc grpc.ClientConnInterface) ImageClient + type ImageServer interface + Ping func(context.Context, *Echo) (*Echo, error) + Upload func(context.Context, *UploadReq) (*UploadResp, error) + type UnimplementedImageServer struct + func (UnimplementedImageServer) Ping(context.Context, *Echo) (*Echo, error) + func (UnimplementedImageServer) Upload(context.Context, *UploadReq) (*UploadResp, error) + type UnsafeImageServer interface + type UploadReq struct + Data []byte + FileName string + Folder string + func (*UploadReq) Descriptor() ([]byte, []int) + func (*UploadReq) ProtoMessage() + func (x *UploadReq) GetData() []byte + func (x *UploadReq) GetFileName() string + func (x *UploadReq) GetFolder() string + func (x *UploadReq) ProtoReflect() protoreflect.Message + func (x *UploadReq) Reset() + func (x *UploadReq) String() string + type UploadResp struct + Variants []*Variant + func (*UploadResp) Descriptor() ([]byte, []int) + func (*UploadResp) ProtoMessage() + func (x *UploadResp) GetVariants() []*Variant + func (x *UploadResp) ProtoReflect() protoreflect.Message + func (x *UploadResp) Reset() + func (x *UploadResp) String() string + type Variant struct + MimeType string + Url string + func (*Variant) Descriptor() ([]byte, []int) + func (*Variant) ProtoMessage() + func (x *Variant) GetMimeType() string + func (x *Variant) GetUrl() string + func (x *Variant) ProtoReflect() protoreflect.Message + func (x *Variant) Reset() + func (x *Variant) String() string