protobufpb

package
v0.0.0-...-3840bb3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvironmentSrv_Create_FullMethodName = "/protobuf.EnvironmentSrv/Create"
	EnvironmentSrv_Read_FullMethodName   = "/protobuf.EnvironmentSrv/Read"
	EnvironmentSrv_List_FullMethodName   = "/protobuf.EnvironmentSrv/List"
	EnvironmentSrv_Update_FullMethodName = "/protobuf.EnvironmentSrv/Update"
)
View Source
const (
	PlantSrv_Create_FullMethodName            = "/protobuf.PlantSrv/Create"
	PlantSrv_Read_FullMethodName              = "/protobuf.PlantSrv/Read"
	PlantSrv_List_FullMethodName              = "/protobuf.PlantSrv/List"
	PlantSrv_Update_FullMethodName            = "/protobuf.PlantSrv/Update"
	PlantSrv_UploadAvatarPlant_FullMethodName = "/protobuf.PlantSrv/UploadAvatarPlant"
)
View Source
const (
	StorageSrv_GetPresignedPutObjectURL_FullMethodName = "/StorageSrv/GetPresignedPutObjectURL"
	StorageSrv_GetPresignedGetObjectURL_FullMethodName = "/StorageSrv/GetPresignedGetObjectURL"
	StorageSrv_CheckObjectExist_FullMethodName         = "/StorageSrv/CheckObjectExist"
)
View Source
const (
	UserSrv_Register_FullMethodName       = "/UserSrv/Register"
	UserSrv_Login_FullMethodName          = "/UserSrv/Login"
	UserSrv_Read_FullMethodName           = "/UserSrv/Read"
	UserSrv_List_FullMethodName           = "/UserSrv/List"
	UserSrv_Update_FullMethodName         = "/UserSrv/Update"
	UserSrv_ChangePassword_FullMethodName = "/UserSrv/ChangePassword"
	UserSrv_UploadAvatar_FullMethodName   = "/UserSrv/UploadAvatar"
)

Variables

View Source
var EnvironmentSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.EnvironmentSrv",
	HandlerType: (*EnvironmentSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _EnvironmentSrv_Create_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _EnvironmentSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _EnvironmentSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _EnvironmentSrv_Update_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/environment.proto",
}

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

View Source
var File_proto_base_proto protoreflect.FileDescriptor
View Source
var File_proto_environment_proto protoreflect.FileDescriptor
View Source
var File_proto_plant_proto protoreflect.FileDescriptor
View Source
var File_proto_storage_proto protoreflect.FileDescriptor
View Source
var File_proto_user_proto protoreflect.FileDescriptor
View Source
var PlantSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.PlantSrv",
	HandlerType: (*PlantSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PlantSrv_Create_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _PlantSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PlantSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PlantSrv_Update_Handler,
		},
		{
			MethodName: "UploadAvatarPlant",
			Handler:    _PlantSrv_UploadAvatarPlant_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/plant.proto",
}

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

View Source
var StorageSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "StorageSrv",
	HandlerType: (*StorageSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPresignedPutObjectURL",
			Handler:    _StorageSrv_GetPresignedPutObjectURL_Handler,
		},
		{
			MethodName: "GetPresignedGetObjectURL",
			Handler:    _StorageSrv_GetPresignedGetObjectURL_Handler,
		},
		{
			MethodName: "CheckObjectExist",
			Handler:    _StorageSrv_CheckObjectExist_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/storage.proto",
}

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

View Source
var UserSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "UserSrv",
	HandlerType: (*UserSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _UserSrv_Register_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _UserSrv_Login_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _UserSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _UserSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _UserSrv_Update_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _UserSrv_ChangePassword_Handler,
		},
		{
			MethodName: "UploadAvatar",
			Handler:    _UserSrv_UploadAvatar_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/user.proto",
}

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

Functions

func RegisterEnvironmentSrvServer

func RegisterEnvironmentSrvServer(s grpc.ServiceRegistrar, srv EnvironmentSrvServer)

func RegisterPlantSrvServer

func RegisterPlantSrvServer(s grpc.ServiceRegistrar, srv PlantSrvServer)

func RegisterStorageSrvServer

func RegisterStorageSrvServer(s grpc.ServiceRegistrar, srv StorageSrvServer)

func RegisterUserSrvServer

func RegisterUserSrvServer(s grpc.ServiceRegistrar, srv UserSrvServer)

Types

type ActionRes

type ActionRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionRes) Descriptor deprecated

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

Deprecated: Use ActionRes.ProtoReflect.Descriptor instead.

func (*ActionRes) GetSuccess

func (x *ActionRes) GetSuccess() bool

func (*ActionRes) ProtoMessage

func (*ActionRes) ProtoMessage()

func (*ActionRes) ProtoReflect

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

func (*ActionRes) Reset

func (x *ActionRes) Reset()

func (*ActionRes) String

func (x *ActionRes) String() string

type Category

type Category struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetDescription

func (x *Category) GetDescription() string

func (*Category) GetId

func (x *Category) GetId() string

func (*Category) GetName

func (x *Category) GetName() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type ChangePasswordReq

type ChangePasswordReq struct {
	Id                 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NewPassword        string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	NewPasswordConfirm string `protobuf:"bytes,3,opt,name=new_password_confirm,json=newPasswordConfirm,proto3" json:"new_password_confirm,omitempty"`
	OldPassword        string `protobuf:"bytes,4,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordReq) Descriptor deprecated

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

Deprecated: Use ChangePasswordReq.ProtoReflect.Descriptor instead.

func (*ChangePasswordReq) GetId

func (x *ChangePasswordReq) GetId() string

func (*ChangePasswordReq) GetNewPassword

func (x *ChangePasswordReq) GetNewPassword() string

func (*ChangePasswordReq) GetNewPasswordConfirm

func (x *ChangePasswordReq) GetNewPasswordConfirm() string

func (*ChangePasswordReq) GetOldPassword

func (x *ChangePasswordReq) GetOldPassword() string

func (*ChangePasswordReq) ProtoMessage

func (*ChangePasswordReq) ProtoMessage()

func (*ChangePasswordReq) ProtoReflect

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

func (*ChangePasswordReq) Reset

func (x *ChangePasswordReq) Reset()

func (*ChangePasswordReq) String

func (x *ChangePasswordReq) String() string

type ChangePasswordRes

type ChangePasswordRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordRes) Descriptor deprecated

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

Deprecated: Use ChangePasswordRes.ProtoReflect.Descriptor instead.

func (*ChangePasswordRes) GetSuccess

func (x *ChangePasswordRes) GetSuccess() bool

func (*ChangePasswordRes) ProtoMessage

func (*ChangePasswordRes) ProtoMessage()

func (*ChangePasswordRes) ProtoReflect

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

func (*ChangePasswordRes) Reset

func (x *ChangePasswordRes) Reset()

func (*ChangePasswordRes) String

func (x *ChangePasswordRes) String() string

type CheckObjectExistResponse

type CheckObjectExistResponse struct {
	Exist bool `protobuf:"varint,1,opt,name=exist,proto3" json:"exist,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckObjectExistResponse) Descriptor deprecated

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

Deprecated: Use CheckObjectExistResponse.ProtoReflect.Descriptor instead.

func (*CheckObjectExistResponse) GetExist

func (x *CheckObjectExistResponse) GetExist() bool

func (*CheckObjectExistResponse) ProtoMessage

func (*CheckObjectExistResponse) ProtoMessage()

func (*CheckObjectExistResponse) ProtoReflect

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

func (*CheckObjectExistResponse) Reset

func (x *CheckObjectExistResponse) Reset()

func (*CheckObjectExistResponse) String

func (x *CheckObjectExistResponse) String() string

type CheckObjectExistResquest

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

func (*CheckObjectExistResquest) Descriptor deprecated

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

Deprecated: Use CheckObjectExistResquest.ProtoReflect.Descriptor instead.

func (*CheckObjectExistResquest) GetPath

func (x *CheckObjectExistResquest) GetPath() string

func (*CheckObjectExistResquest) ProtoMessage

func (*CheckObjectExistResquest) ProtoMessage()

func (*CheckObjectExistResquest) ProtoReflect

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

func (*CheckObjectExistResquest) Reset

func (x *CheckObjectExistResquest) Reset()

func (*CheckObjectExistResquest) String

func (x *CheckObjectExistResquest) String() string

type CreateEnvironmentReq

type CreateEnvironmentReq struct {
	Location    string                 `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`                         // Vị trí khu vực vườn
	Temperature float32                `protobuf:"fixed32,3,opt,name=temperature,proto3" json:"temperature,omitempty"`                 // Nhiệt độ môi trường (đơn vị Celsius)
	Humidity    float32                `protobuf:"fixed32,4,opt,name=humidity,proto3" json:"humidity,omitempty"`                       // Độ ẩm môi trường (tỷ lệ phần trăm)
	RainChance  float32                `protobuf:"fixed32,5,opt,name=rain_chance,json=rainChance,proto3" json:"rain_chance,omitempty"` // Khả năng mưa
	WindSpeed   float32                `protobuf:"fixed32,6,opt,name=wind_speed,json=windSpeed,proto3" json:"wind_speed,omitempty"`    // Ánh sáng mặt trời (hàng giờ)
	Date        *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=date,proto3" json:"date,omitempty"`                                 // ngày Dự báo thời tiết
	RecordedAt  int64                  `protobuf:"varint,8,opt,name=recorded_at,json=recordedAt,proto3" json:"recorded_at,omitempty"`  // Thời gian ghi nhận (epoch time)
	// contains filtered or unexported fields
}

func (*CreateEnvironmentReq) Descriptor deprecated

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

Deprecated: Use CreateEnvironmentReq.ProtoReflect.Descriptor instead.

func (*CreateEnvironmentReq) GetDate

func (*CreateEnvironmentReq) GetHumidity

func (x *CreateEnvironmentReq) GetHumidity() float32

func (*CreateEnvironmentReq) GetLocation

func (x *CreateEnvironmentReq) GetLocation() string

func (*CreateEnvironmentReq) GetRainChance

func (x *CreateEnvironmentReq) GetRainChance() float32

func (*CreateEnvironmentReq) GetRecordedAt

func (x *CreateEnvironmentReq) GetRecordedAt() int64

func (*CreateEnvironmentReq) GetTemperature

func (x *CreateEnvironmentReq) GetTemperature() float32

func (*CreateEnvironmentReq) GetWindSpeed

func (x *CreateEnvironmentReq) GetWindSpeed() float32

func (*CreateEnvironmentReq) ProtoMessage

func (*CreateEnvironmentReq) ProtoMessage()

func (*CreateEnvironmentReq) ProtoReflect

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

func (*CreateEnvironmentReq) Reset

func (x *CreateEnvironmentReq) Reset()

func (*CreateEnvironmentReq) String

func (x *CreateEnvironmentReq) String() string

type CreateEnvironmentRes

type CreateEnvironmentRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEnvironmentRes) Descriptor deprecated

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

Deprecated: Use CreateEnvironmentRes.ProtoReflect.Descriptor instead.

func (*CreateEnvironmentRes) GetSuccess

func (x *CreateEnvironmentRes) GetSuccess() bool

func (*CreateEnvironmentRes) ProtoMessage

func (*CreateEnvironmentRes) ProtoMessage()

func (*CreateEnvironmentRes) ProtoReflect

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

func (*CreateEnvironmentRes) Reset

func (x *CreateEnvironmentRes) Reset()

func (*CreateEnvironmentRes) String

func (x *CreateEnvironmentRes) String() string

type CreatePlantReq

type CreatePlantReq struct {
	PlantName            string                 `protobuf:"bytes,2,opt,name=plant_name,json=plantName,proto3" json:"plant_name,omitempty"`                                    // Tên cây
	Type                 string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                                               // Loại cây
	PlantingDate         *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=planting_date,json=plantingDate,proto3" json:"planting_date,omitempty"`                           // Ngày trồng (epoch time)
	Height               float32                `protobuf:"fixed32,5,opt,name=height,proto3" json:"height,omitempty"`                                                         // Chiều cao cây
	HealthStatus         string                 `protobuf:"bytes,6,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`                           // Tình trạng sức khỏe cây (ví dụ: khỏe mạnh, bệnh tật, ...)
	ImageUrl             string                 `protobuf:"bytes,7,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`                                       // URL hình ảnh cây trồng
	EstimatedHarvestDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=estimated_harvest_date,json=estimatedHarvestDate,proto3" json:"estimated_harvest_date,omitempty"` // Ngày dự kiến thu hoạch (epoch time)
	// contains filtered or unexported fields
}

func (*CreatePlantReq) Descriptor deprecated

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

Deprecated: Use CreatePlantReq.ProtoReflect.Descriptor instead.

func (*CreatePlantReq) GetEstimatedHarvestDate

func (x *CreatePlantReq) GetEstimatedHarvestDate() *timestamppb.Timestamp

func (*CreatePlantReq) GetHealthStatus

func (x *CreatePlantReq) GetHealthStatus() string

func (*CreatePlantReq) GetHeight

func (x *CreatePlantReq) GetHeight() float32

func (*CreatePlantReq) GetImageUrl

func (x *CreatePlantReq) GetImageUrl() string

func (*CreatePlantReq) GetPlantName

func (x *CreatePlantReq) GetPlantName() string

func (*CreatePlantReq) GetPlantingDate

func (x *CreatePlantReq) GetPlantingDate() *timestamppb.Timestamp

func (*CreatePlantReq) GetType

func (x *CreatePlantReq) GetType() string

func (*CreatePlantReq) ProtoMessage

func (*CreatePlantReq) ProtoMessage()

func (*CreatePlantReq) ProtoReflect

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

func (*CreatePlantReq) Reset

func (x *CreatePlantReq) Reset()

func (*CreatePlantReq) String

func (x *CreatePlantReq) String() string

type CreatePlantRes

type CreatePlantRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePlantRes) Descriptor deprecated

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

Deprecated: Use CreatePlantRes.ProtoReflect.Descriptor instead.

func (*CreatePlantRes) GetSuccess

func (x *CreatePlantRes) GetSuccess() bool

func (*CreatePlantRes) ProtoMessage

func (*CreatePlantRes) ProtoMessage()

func (*CreatePlantRes) ProtoReflect

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

func (*CreatePlantRes) Reset

func (x *CreatePlantRes) Reset()

func (*CreatePlantRes) String

func (x *CreatePlantRes) String() string

type EnvironmentInfo

type EnvironmentInfo struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Location    string                 `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`                         // Vị trí khu vực vườn
	Temperature float32                `protobuf:"fixed32,3,opt,name=temperature,proto3" json:"temperature,omitempty"`                 // Nhiệt độ môi trường (đơn vị Celsius)
	Humidity    float32                `protobuf:"fixed32,4,opt,name=humidity,proto3" json:"humidity,omitempty"`                       // Độ ẩm môi trường (tỷ lệ phần trăm)
	RainChance  float32                `protobuf:"fixed32,5,opt,name=rain_chance,json=rainChance,proto3" json:"rain_chance,omitempty"` // Khả năng mưa
	WindSpeed   float32                `protobuf:"fixed32,6,opt,name=wind_speed,json=windSpeed,proto3" json:"wind_speed,omitempty"`    // Ánh sáng mặt trời (hàng giờ)
	Date        *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=date,proto3" json:"date,omitempty"`                                 // ngày Dự báo thời tiết
	RecordedAt  int64                  `protobuf:"varint,8,opt,name=recorded_at,json=recordedAt,proto3" json:"recorded_at,omitempty"`  // Thời gian ghi nhận (epoch time)
	// contains filtered or unexported fields
}

func (*EnvironmentInfo) Descriptor deprecated

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

Deprecated: Use EnvironmentInfo.ProtoReflect.Descriptor instead.

func (*EnvironmentInfo) GetDate

func (x *EnvironmentInfo) GetDate() *timestamppb.Timestamp

func (*EnvironmentInfo) GetHumidity

func (x *EnvironmentInfo) GetHumidity() float32

func (*EnvironmentInfo) GetId

func (x *EnvironmentInfo) GetId() string

func (*EnvironmentInfo) GetLocation

func (x *EnvironmentInfo) GetLocation() string

func (*EnvironmentInfo) GetRainChance

func (x *EnvironmentInfo) GetRainChance() float32

func (*EnvironmentInfo) GetRecordedAt

func (x *EnvironmentInfo) GetRecordedAt() int64

func (*EnvironmentInfo) GetTemperature

func (x *EnvironmentInfo) GetTemperature() float32

func (*EnvironmentInfo) GetWindSpeed

func (x *EnvironmentInfo) GetWindSpeed() float32

func (*EnvironmentInfo) ProtoMessage

func (*EnvironmentInfo) ProtoMessage()

func (*EnvironmentInfo) ProtoReflect

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

func (*EnvironmentInfo) Reset

func (x *EnvironmentInfo) Reset()

func (*EnvironmentInfo) String

func (x *EnvironmentInfo) String() string

type EnvironmentSrvClient

EnvironmentSrvClient is the client API for EnvironmentSrv 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 EnvironmentSrvServer

type EnvironmentSrvServer interface {
	Create(context.Context, *CreateEnvironmentReq) (*CreateEnvironmentRes, error)
	Read(context.Context, *ReadEnvironmentReq) (*ReadEnvironmentRes, error)
	List(context.Context, *ListEnvironmentReq) (*ListEnvironmentRes, error)
	Update(context.Context, *UpdateEnvironmentReq) (*UpdateEnvironmentRes, error)
	// contains filtered or unexported methods
}

EnvironmentSrvServer is the server API for EnvironmentSrv service. All implementations must embed UnimplementedEnvironmentSrvServer for forward compatibility.

type GetPresignedGetObjectURLRequest

type GetPresignedGetObjectURLRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // token_anhSinhVien1.png
	// contains filtered or unexported fields
}

func (*GetPresignedGetObjectURLRequest) Descriptor deprecated

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

Deprecated: Use GetPresignedGetObjectURLRequest.ProtoReflect.Descriptor instead.

func (*GetPresignedGetObjectURLRequest) GetPath

func (*GetPresignedGetObjectURLRequest) ProtoMessage

func (*GetPresignedGetObjectURLRequest) ProtoMessage()

func (*GetPresignedGetObjectURLRequest) ProtoReflect

func (*GetPresignedGetObjectURLRequest) Reset

func (*GetPresignedGetObjectURLRequest) String

type GetPresignedGetObjectURLResponse

type GetPresignedGetObjectURLResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // https://localhost:9000/get
	// contains filtered or unexported fields
}

func (*GetPresignedGetObjectURLResponse) Descriptor deprecated

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

Deprecated: Use GetPresignedGetObjectURLResponse.ProtoReflect.Descriptor instead.

func (*GetPresignedGetObjectURLResponse) GetUrl

func (*GetPresignedGetObjectURLResponse) ProtoMessage

func (*GetPresignedGetObjectURLResponse) ProtoMessage()

func (*GetPresignedGetObjectURLResponse) ProtoReflect

func (*GetPresignedGetObjectURLResponse) Reset

func (*GetPresignedGetObjectURLResponse) String

type GetPresignedPutObjectURLRequest

type GetPresignedPutObjectURLRequest struct {
	PictureName string `protobuf:"bytes,1,opt,name=pictureName,proto3" json:"pictureName,omitempty"` // anhSinhVien1.png
	// contains filtered or unexported fields
}

func (*GetPresignedPutObjectURLRequest) Descriptor deprecated

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

Deprecated: Use GetPresignedPutObjectURLRequest.ProtoReflect.Descriptor instead.

func (*GetPresignedPutObjectURLRequest) GetPictureName

func (x *GetPresignedPutObjectURLRequest) GetPictureName() string

func (*GetPresignedPutObjectURLRequest) ProtoMessage

func (*GetPresignedPutObjectURLRequest) ProtoMessage()

func (*GetPresignedPutObjectURLRequest) ProtoReflect

func (*GetPresignedPutObjectURLRequest) Reset

func (*GetPresignedPutObjectURLRequest) String

type GetPresignedPutObjectURLResponse

type GetPresignedPutObjectURLResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // token_anhSinhVien1.png
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`   // https://localhost:9000/put ....
	// contains filtered or unexported fields
}

func (*GetPresignedPutObjectURLResponse) Descriptor deprecated

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

Deprecated: Use GetPresignedPutObjectURLResponse.ProtoReflect.Descriptor instead.

func (*GetPresignedPutObjectURLResponse) GetPath

func (*GetPresignedPutObjectURLResponse) GetUrl

func (*GetPresignedPutObjectURLResponse) ProtoMessage

func (*GetPresignedPutObjectURLResponse) ProtoMessage()

func (*GetPresignedPutObjectURLResponse) ProtoReflect

func (*GetPresignedPutObjectURLResponse) Reset

func (*GetPresignedPutObjectURLResponse) String

type ListEnvironmentReq

type ListEnvironmentReq struct {
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvironmentReq) Descriptor deprecated

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

Deprecated: Use ListEnvironmentReq.ProtoReflect.Descriptor instead.

func (*ListEnvironmentReq) GetKeyword

func (x *ListEnvironmentReq) GetKeyword() string

func (*ListEnvironmentReq) GetLimited

func (x *ListEnvironmentReq) GetLimited() int64

func (*ListEnvironmentReq) GetPage

func (x *ListEnvironmentReq) GetPage() int64

func (*ListEnvironmentReq) ProtoMessage

func (*ListEnvironmentReq) ProtoMessage()

func (*ListEnvironmentReq) ProtoReflect

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

func (*ListEnvironmentReq) Reset

func (x *ListEnvironmentReq) Reset()

func (*ListEnvironmentReq) String

func (x *ListEnvironmentReq) String() string

type ListEnvironmentRes

type ListEnvironmentRes struct {
	Plants []*EnvironmentInfo `protobuf:"bytes,1,rep,name=plants,proto3" json:"plants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvironmentRes) Descriptor deprecated

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

Deprecated: Use ListEnvironmentRes.ProtoReflect.Descriptor instead.

func (*ListEnvironmentRes) GetPlants

func (x *ListEnvironmentRes) GetPlants() []*EnvironmentInfo

func (*ListEnvironmentRes) ProtoMessage

func (*ListEnvironmentRes) ProtoMessage()

func (*ListEnvironmentRes) ProtoReflect

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

func (*ListEnvironmentRes) Reset

func (x *ListEnvironmentRes) Reset()

func (*ListEnvironmentRes) String

func (x *ListEnvironmentRes) String() string

type ListPlantReq

type ListPlantReq struct {
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPlantReq) Descriptor deprecated

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

Deprecated: Use ListPlantReq.ProtoReflect.Descriptor instead.

func (*ListPlantReq) GetKeyword

func (x *ListPlantReq) GetKeyword() string

func (*ListPlantReq) GetLimited

func (x *ListPlantReq) GetLimited() int64

func (*ListPlantReq) GetPage

func (x *ListPlantReq) GetPage() int64

func (*ListPlantReq) ProtoMessage

func (*ListPlantReq) ProtoMessage()

func (*ListPlantReq) ProtoReflect

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

func (*ListPlantReq) Reset

func (x *ListPlantReq) Reset()

func (*ListPlantReq) String

func (x *ListPlantReq) String() string

type ListPlantRes

type ListPlantRes struct {
	Plants []*PlantInfo `protobuf:"bytes,1,rep,name=plants,proto3" json:"plants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPlantRes) Descriptor deprecated

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

Deprecated: Use ListPlantRes.ProtoReflect.Descriptor instead.

func (*ListPlantRes) GetPlants

func (x *ListPlantRes) GetPlants() []*PlantInfo

func (*ListPlantRes) ProtoMessage

func (*ListPlantRes) ProtoMessage()

func (*ListPlantRes) ProtoReflect

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

func (*ListPlantRes) Reset

func (x *ListPlantRes) Reset()

func (*ListPlantRes) String

func (x *ListPlantRes) String() string

type ListUserReq

type ListUserReq struct {
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReq) Descriptor deprecated

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

Deprecated: Use ListUserReq.ProtoReflect.Descriptor instead.

func (*ListUserReq) GetKeyword

func (x *ListUserReq) GetKeyword() string

func (*ListUserReq) GetLimited

func (x *ListUserReq) GetLimited() int64

func (*ListUserReq) GetPage

func (x *ListUserReq) GetPage() int64

func (*ListUserReq) ProtoMessage

func (*ListUserReq) ProtoMessage()

func (*ListUserReq) ProtoReflect

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

func (*ListUserReq) Reset

func (x *ListUserReq) Reset()

func (*ListUserReq) String

func (x *ListUserReq) String() string

type ListUserRes

type ListUserRes struct {
	Users []*UserInfo `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRes) Descriptor deprecated

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

Deprecated: Use ListUserRes.ProtoReflect.Descriptor instead.

func (*ListUserRes) GetUsers

func (x *ListUserRes) GetUsers() []*UserInfo

func (*ListUserRes) ProtoMessage

func (*ListUserRes) ProtoMessage()

func (*ListUserRes) ProtoReflect

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

func (*ListUserRes) Reset

func (x *ListUserRes) Reset()

func (*ListUserRes) String

func (x *ListUserRes) String() string

type LoginReq

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

LoginReq represents for a login request

func (*LoginReq) Descriptor deprecated

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

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetEmail

func (x *LoginReq) GetEmail() string

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

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

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type LoginRes

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

func (*LoginRes) Descriptor deprecated

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

Deprecated: Use LoginRes.ProtoReflect.Descriptor instead.

func (*LoginRes) GetToken

func (x *LoginRes) GetToken() string

func (*LoginRes) ProtoMessage

func (*LoginRes) ProtoMessage()

func (*LoginRes) ProtoReflect

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

func (*LoginRes) Reset

func (x *LoginRes) Reset()

func (*LoginRes) String

func (x *LoginRes) String() string

type Media

type Media struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokenId     uint64                 `protobuf:"varint,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Name        string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Collection  string                 `protobuf:"bytes,4,opt,name=collection,proto3" json:"collection,omitempty"`
	MetadataUrl string                 `protobuf:"bytes,5,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
	MediaUrl    string                 `protobuf:"bytes,6,opt,name=media_url,json=mediaUrl,proto3" json:"media_url,omitempty"`
	Mint        string                 `protobuf:"bytes,7,opt,name=mint,proto3" json:"mint,omitempty"`
	Creator     string                 `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"`
	Owner       string                 `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	Tags        []string               `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	CategoryId  string                 `protobuf:"bytes,11,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	Signature   string                 `protobuf:"bytes,12,opt,name=signature,proto3" json:"signature,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	Description string                 `protobuf:"bytes,16,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Media) Descriptor deprecated

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

Deprecated: Use Media.ProtoReflect.Descriptor instead.

func (*Media) GetCategoryId

func (x *Media) GetCategoryId() string

func (*Media) GetCollection

func (x *Media) GetCollection() string

func (*Media) GetCreatedAt

func (x *Media) GetCreatedAt() *timestamppb.Timestamp

func (*Media) GetCreator

func (x *Media) GetCreator() string

func (*Media) GetDeletedAt

func (x *Media) GetDeletedAt() *timestamppb.Timestamp

func (*Media) GetDescription

func (x *Media) GetDescription() string

func (*Media) GetId

func (x *Media) GetId() string

func (*Media) GetMediaUrl

func (x *Media) GetMediaUrl() string

func (*Media) GetMetadataUrl

func (x *Media) GetMetadataUrl() string

func (*Media) GetMint

func (x *Media) GetMint() string

func (*Media) GetName

func (x *Media) GetName() string

func (*Media) GetOwner

func (x *Media) GetOwner() string

func (*Media) GetSignature

func (x *Media) GetSignature() string

func (*Media) GetTags

func (x *Media) GetTags() []string

func (*Media) GetTokenId

func (x *Media) GetTokenId() uint64

func (*Media) GetUpdatedAt

func (x *Media) GetUpdatedAt() *timestamppb.Timestamp

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) ProtoReflect

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

func (*Media) Reset

func (x *Media) Reset()

func (*Media) String

func (x *Media) String() string

type PaginationReq

type PaginationReq struct {
	PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
	PageLimit  int32 `protobuf:"varint,2,opt,name=page_limit,json=pageLimit,proto3" json:"page_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationReq) Descriptor deprecated

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

Deprecated: Use PaginationReq.ProtoReflect.Descriptor instead.

func (*PaginationReq) GetPageLimit

func (x *PaginationReq) GetPageLimit() int32

func (*PaginationReq) GetPageNumber

func (x *PaginationReq) GetPageNumber() int32

func (*PaginationReq) ProtoMessage

func (*PaginationReq) ProtoMessage()

func (*PaginationReq) ProtoReflect

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

func (*PaginationReq) Reset

func (x *PaginationReq) Reset()

func (*PaginationReq) String

func (x *PaginationReq) String() string

type PaginationRes

type PaginationRes struct {
	PageCurrent int32 `protobuf:"varint,1,opt,name=page_current,json=pageCurrent,proto3" json:"page_current,omitempty"`
	PageLimit   int32 `protobuf:"varint,2,opt,name=page_limit,json=pageLimit,proto3" json:"page_limit,omitempty"`
	TotalPage   int32 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"`
	TotalRecord int64 `protobuf:"varint,4,opt,name=total_record,json=totalRecord,proto3" json:"total_record,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationRes) Descriptor deprecated

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

Deprecated: Use PaginationRes.ProtoReflect.Descriptor instead.

func (*PaginationRes) GetPageCurrent

func (x *PaginationRes) GetPageCurrent() int32

func (*PaginationRes) GetPageLimit

func (x *PaginationRes) GetPageLimit() int32

func (*PaginationRes) GetTotalPage

func (x *PaginationRes) GetTotalPage() int32

func (*PaginationRes) GetTotalRecord

func (x *PaginationRes) GetTotalRecord() int64

func (*PaginationRes) ProtoMessage

func (*PaginationRes) ProtoMessage()

func (*PaginationRes) ProtoReflect

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

func (*PaginationRes) Reset

func (x *PaginationRes) Reset()

func (*PaginationRes) String

func (x *PaginationRes) String() string

type PlantInfo

type PlantInfo struct {
	Id                   string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                                   // ID cây trồng
	PlantName            string                 `protobuf:"bytes,2,opt,name=plant_name,json=plantName,proto3" json:"plant_name,omitempty"`                                    // Tên cây
	Type                 string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                                               // Loại cây
	PlantingDate         *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=planting_date,json=plantingDate,proto3" json:"planting_date,omitempty"`                           // Ngày trồng (epoch time)
	Height               float32                `protobuf:"fixed32,5,opt,name=height,proto3" json:"height,omitempty"`                                                         // Chiều cao cây
	HealthStatus         string                 `protobuf:"bytes,6,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`                           // Tình trạng sức khỏe cây (ví dụ: khỏe mạnh, bệnh tật, ...)
	ImageUrl             string                 `protobuf:"bytes,7,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`                                       // URL hình ảnh cây trồng
	EstimatedHarvestDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=estimated_harvest_date,json=estimatedHarvestDate,proto3" json:"estimated_harvest_date,omitempty"` // Ngày dự kiến thu hoạch (epoch time)
	// contains filtered or unexported fields
}

func (*PlantInfo) Descriptor deprecated

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

Deprecated: Use PlantInfo.ProtoReflect.Descriptor instead.

func (*PlantInfo) GetEstimatedHarvestDate

func (x *PlantInfo) GetEstimatedHarvestDate() *timestamppb.Timestamp

func (*PlantInfo) GetHealthStatus

func (x *PlantInfo) GetHealthStatus() string

func (*PlantInfo) GetHeight

func (x *PlantInfo) GetHeight() float32

func (*PlantInfo) GetId

func (x *PlantInfo) GetId() string

func (*PlantInfo) GetImageUrl

func (x *PlantInfo) GetImageUrl() string

func (*PlantInfo) GetPlantName

func (x *PlantInfo) GetPlantName() string

func (*PlantInfo) GetPlantingDate

func (x *PlantInfo) GetPlantingDate() *timestamppb.Timestamp

func (*PlantInfo) GetType

func (x *PlantInfo) GetType() string

func (*PlantInfo) ProtoMessage

func (*PlantInfo) ProtoMessage()

func (*PlantInfo) ProtoReflect

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

func (*PlantInfo) Reset

func (x *PlantInfo) Reset()

func (*PlantInfo) String

func (x *PlantInfo) String() string

type PlantSrvClient

type PlantSrvClient interface {
	Create(ctx context.Context, in *CreatePlantReq, opts ...grpc.CallOption) (*CreatePlantRes, error)
	Read(ctx context.Context, in *ReadPlantReq, opts ...grpc.CallOption) (*ReadPlantRes, error)
	List(ctx context.Context, in *ListPlantReq, opts ...grpc.CallOption) (*ListPlantRes, error)
	Update(ctx context.Context, in *UpdatePlantReq, opts ...grpc.CallOption) (*UpdatePlantRes, error)
	UploadAvatarPlant(ctx context.Context, in *UploadAvatarPlantRes, opts ...grpc.CallOption) (*UploadAvatarPlantRes, error)
}

PlantSrvClient is the client API for PlantSrv 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 NewPlantSrvClient

func NewPlantSrvClient(cc grpc.ClientConnInterface) PlantSrvClient

type PlantSrvServer

type PlantSrvServer interface {
	Create(context.Context, *CreatePlantReq) (*CreatePlantRes, error)
	Read(context.Context, *ReadPlantReq) (*ReadPlantRes, error)
	List(context.Context, *ListPlantReq) (*ListPlantRes, error)
	Update(context.Context, *UpdatePlantReq) (*UpdatePlantRes, error)
	UploadAvatarPlant(context.Context, *UploadAvatarPlantRes) (*UploadAvatarPlantRes, error)
	// contains filtered or unexported methods
}

PlantSrvServer is the server API for PlantSrv service. All implementations must embed UnimplementedPlantSrvServer for forward compatibility.

type ReadEnvironmentReq

type ReadEnvironmentReq struct {
	Filter *EnvironmentInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadEnvironmentReq) Descriptor deprecated

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

Deprecated: Use ReadEnvironmentReq.ProtoReflect.Descriptor instead.

func (*ReadEnvironmentReq) GetFilter

func (x *ReadEnvironmentReq) GetFilter() *EnvironmentInfo

func (*ReadEnvironmentReq) ProtoMessage

func (*ReadEnvironmentReq) ProtoMessage()

func (*ReadEnvironmentReq) ProtoReflect

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

func (*ReadEnvironmentReq) Reset

func (x *ReadEnvironmentReq) Reset()

func (*ReadEnvironmentReq) String

func (x *ReadEnvironmentReq) String() string

type ReadEnvironmentRes

type ReadEnvironmentRes struct {
	Plant *EnvironmentInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadEnvironmentRes) Descriptor deprecated

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

Deprecated: Use ReadEnvironmentRes.ProtoReflect.Descriptor instead.

func (*ReadEnvironmentRes) GetPlant

func (x *ReadEnvironmentRes) GetPlant() *EnvironmentInfo

func (*ReadEnvironmentRes) ProtoMessage

func (*ReadEnvironmentRes) ProtoMessage()

func (*ReadEnvironmentRes) ProtoReflect

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

func (*ReadEnvironmentRes) Reset

func (x *ReadEnvironmentRes) Reset()

func (*ReadEnvironmentRes) String

func (x *ReadEnvironmentRes) String() string

type ReadPlantReq

type ReadPlantReq struct {
	Filter *PlantInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadPlantReq) Descriptor deprecated

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

Deprecated: Use ReadPlantReq.ProtoReflect.Descriptor instead.

func (*ReadPlantReq) GetFilter

func (x *ReadPlantReq) GetFilter() *PlantInfo

func (*ReadPlantReq) ProtoMessage

func (*ReadPlantReq) ProtoMessage()

func (*ReadPlantReq) ProtoReflect

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

func (*ReadPlantReq) Reset

func (x *ReadPlantReq) Reset()

func (*ReadPlantReq) String

func (x *ReadPlantReq) String() string

type ReadPlantRes

type ReadPlantRes struct {
	Plant *PlantInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadPlantRes) Descriptor deprecated

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

Deprecated: Use ReadPlantRes.ProtoReflect.Descriptor instead.

func (*ReadPlantRes) GetPlant

func (x *ReadPlantRes) GetPlant() *PlantInfo

func (*ReadPlantRes) ProtoMessage

func (*ReadPlantRes) ProtoMessage()

func (*ReadPlantRes) ProtoReflect

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

func (*ReadPlantRes) Reset

func (x *ReadPlantRes) Reset()

func (*ReadPlantRes) String

func (x *ReadPlantRes) String() string

type ReadUserReq

type ReadUserReq struct {
	Filter *UserInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadUserReq) Descriptor deprecated

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

Deprecated: Use ReadUserReq.ProtoReflect.Descriptor instead.

func (*ReadUserReq) GetFilter

func (x *ReadUserReq) GetFilter() *UserInfo

func (*ReadUserReq) ProtoMessage

func (*ReadUserReq) ProtoMessage()

func (*ReadUserReq) ProtoReflect

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

func (*ReadUserReq) Reset

func (x *ReadUserReq) Reset()

func (*ReadUserReq) String

func (x *ReadUserReq) String() string

type ReadUserRes

type ReadUserRes struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadUserRes) Descriptor deprecated

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

Deprecated: Use ReadUserRes.ProtoReflect.Descriptor instead.

func (*ReadUserRes) GetUser

func (x *ReadUserRes) GetUser() *UserInfo

func (*ReadUserRes) ProtoMessage

func (*ReadUserRes) ProtoMessage()

func (*ReadUserRes) ProtoReflect

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

func (*ReadUserRes) Reset

func (x *ReadUserRes) Reset()

func (*ReadUserRes) String

func (x *ReadUserRes) String() string

type RegisterUserReq

type RegisterUserReq struct {
	FullName        string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Email           string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password        string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	ConfirmPassword string `protobuf:"bytes,4,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"`
	Avatar          string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Address         string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

RegisterUserReq represents for a register request

func (*RegisterUserReq) Descriptor deprecated

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

Deprecated: Use RegisterUserReq.ProtoReflect.Descriptor instead.

func (*RegisterUserReq) GetAddress

func (x *RegisterUserReq) GetAddress() string

func (*RegisterUserReq) GetAvatar

func (x *RegisterUserReq) GetAvatar() string

func (*RegisterUserReq) GetConfirmPassword

func (x *RegisterUserReq) GetConfirmPassword() string

func (*RegisterUserReq) GetEmail

func (x *RegisterUserReq) GetEmail() string

func (*RegisterUserReq) GetFullName

func (x *RegisterUserReq) GetFullName() string

func (*RegisterUserReq) GetPassword

func (x *RegisterUserReq) GetPassword() string

func (*RegisterUserReq) ProtoMessage

func (*RegisterUserReq) ProtoMessage()

func (*RegisterUserReq) ProtoReflect

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

func (*RegisterUserReq) Reset

func (x *RegisterUserReq) Reset()

func (*RegisterUserReq) String

func (x *RegisterUserReq) String() string

type RegisterUserRes

type RegisterUserRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

UserRes : user info

func (*RegisterUserRes) Descriptor deprecated

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

Deprecated: Use RegisterUserRes.ProtoReflect.Descriptor instead.

func (*RegisterUserRes) GetSuccess

func (x *RegisterUserRes) GetSuccess() bool

func (*RegisterUserRes) ProtoMessage

func (*RegisterUserRes) ProtoMessage()

func (*RegisterUserRes) ProtoReflect

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

func (*RegisterUserRes) Reset

func (x *RegisterUserRes) Reset()

func (*RegisterUserRes) String

func (x *RegisterUserRes) String() string

type StorageSrvClient

type StorageSrvClient interface {
	GetPresignedPutObjectURL(ctx context.Context, in *GetPresignedPutObjectURLRequest, opts ...grpc.CallOption) (*GetPresignedPutObjectURLResponse, error)
	GetPresignedGetObjectURL(ctx context.Context, in *GetPresignedGetObjectURLRequest, opts ...grpc.CallOption) (*GetPresignedGetObjectURLResponse, error)
	CheckObjectExist(ctx context.Context, in *CheckObjectExistResquest, opts ...grpc.CallOption) (*CheckObjectExistResponse, error)
}

StorageSrvClient is the client API for StorageSrv 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 NewStorageSrvClient

func NewStorageSrvClient(cc grpc.ClientConnInterface) StorageSrvClient

type StorageSrvServer

type StorageSrvServer interface {
	GetPresignedPutObjectURL(context.Context, *GetPresignedPutObjectURLRequest) (*GetPresignedPutObjectURLResponse, error)
	GetPresignedGetObjectURL(context.Context, *GetPresignedGetObjectURLRequest) (*GetPresignedGetObjectURLResponse, error)
	CheckObjectExist(context.Context, *CheckObjectExistResquest) (*CheckObjectExistResponse, error)
	// contains filtered or unexported methods
}

StorageSrvServer is the server API for StorageSrv service. All implementations must embed UnimplementedStorageSrvServer for forward compatibility.

type UnimplementedEnvironmentSrvServer

type UnimplementedEnvironmentSrvServer struct{}

UnimplementedEnvironmentSrvServer 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 (UnimplementedEnvironmentSrvServer) Create

func (UnimplementedEnvironmentSrvServer) List

func (UnimplementedEnvironmentSrvServer) Read

func (UnimplementedEnvironmentSrvServer) Update

type UnimplementedPlantSrvServer

type UnimplementedPlantSrvServer struct{}

UnimplementedPlantSrvServer 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 (UnimplementedPlantSrvServer) Create

func (UnimplementedPlantSrvServer) List

func (UnimplementedPlantSrvServer) Read

func (UnimplementedPlantSrvServer) Update

func (UnimplementedPlantSrvServer) UploadAvatarPlant

type UnimplementedStorageSrvServer

type UnimplementedStorageSrvServer struct{}

UnimplementedStorageSrvServer 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 (UnimplementedStorageSrvServer) CheckObjectExist

type UnimplementedUserSrvServer

type UnimplementedUserSrvServer struct{}

UnimplementedUserSrvServer 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 (UnimplementedUserSrvServer) ChangePassword

func (UnimplementedUserSrvServer) List

func (UnimplementedUserSrvServer) Login

func (UnimplementedUserSrvServer) Read

func (UnimplementedUserSrvServer) Register

func (UnimplementedUserSrvServer) Update

func (UnimplementedUserSrvServer) UploadAvatar

type UnsafeEnvironmentSrvServer

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

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

type UnsafePlantSrvServer

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

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

type UnsafeStorageSrvServer

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

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

type UnsafeUserSrvServer

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

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

type UpdateEnvironmentReq

type UpdateEnvironmentReq struct {
	Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnvironmentReq) Descriptor deprecated

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

Deprecated: Use UpdateEnvironmentReq.ProtoReflect.Descriptor instead.

func (*UpdateEnvironmentReq) GetEnvironment

func (x *UpdateEnvironmentReq) GetEnvironment() *EnvironmentInfo

func (*UpdateEnvironmentReq) ProtoMessage

func (*UpdateEnvironmentReq) ProtoMessage()

func (*UpdateEnvironmentReq) ProtoReflect

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

func (*UpdateEnvironmentReq) Reset

func (x *UpdateEnvironmentReq) Reset()

func (*UpdateEnvironmentReq) String

func (x *UpdateEnvironmentReq) String() string

type UpdateEnvironmentRes

type UpdateEnvironmentRes struct {
	Plant *EnvironmentInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnvironmentRes) Descriptor deprecated

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

Deprecated: Use UpdateEnvironmentRes.ProtoReflect.Descriptor instead.

func (*UpdateEnvironmentRes) GetPlant

func (x *UpdateEnvironmentRes) GetPlant() *EnvironmentInfo

func (*UpdateEnvironmentRes) ProtoMessage

func (*UpdateEnvironmentRes) ProtoMessage()

func (*UpdateEnvironmentRes) ProtoReflect

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

func (*UpdateEnvironmentRes) Reset

func (x *UpdateEnvironmentRes) Reset()

func (*UpdateEnvironmentRes) String

func (x *UpdateEnvironmentRes) String() string

type UpdatePlantReq

type UpdatePlantReq struct {
	Plant *PlantInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePlantReq) Descriptor deprecated

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

Deprecated: Use UpdatePlantReq.ProtoReflect.Descriptor instead.

func (*UpdatePlantReq) GetPlant

func (x *UpdatePlantReq) GetPlant() *PlantInfo

func (*UpdatePlantReq) ProtoMessage

func (*UpdatePlantReq) ProtoMessage()

func (*UpdatePlantReq) ProtoReflect

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

func (*UpdatePlantReq) Reset

func (x *UpdatePlantReq) Reset()

func (*UpdatePlantReq) String

func (x *UpdatePlantReq) String() string

type UpdatePlantRes

type UpdatePlantRes struct {
	Plant *PlantInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePlantRes) Descriptor deprecated

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

Deprecated: Use UpdatePlantRes.ProtoReflect.Descriptor instead.

func (*UpdatePlantRes) GetPlant

func (x *UpdatePlantRes) GetPlant() *PlantInfo

func (*UpdatePlantRes) ProtoMessage

func (*UpdatePlantRes) ProtoMessage()

func (*UpdatePlantRes) ProtoReflect

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

func (*UpdatePlantRes) Reset

func (x *UpdatePlantRes) Reset()

func (*UpdatePlantRes) String

func (x *UpdatePlantRes) String() string

type UpdateUserReq

type UpdateUserReq struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserReq) Descriptor deprecated

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

Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.

func (*UpdateUserReq) GetUser

func (x *UpdateUserReq) GetUser() *UserInfo

func (*UpdateUserReq) ProtoMessage

func (*UpdateUserReq) ProtoMessage()

func (*UpdateUserReq) ProtoReflect

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

func (*UpdateUserReq) Reset

func (x *UpdateUserReq) Reset()

func (*UpdateUserReq) String

func (x *UpdateUserReq) String() string

type UpdateUserRes

type UpdateUserRes struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRes) Descriptor deprecated

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

Deprecated: Use UpdateUserRes.ProtoReflect.Descriptor instead.

func (*UpdateUserRes) GetUser

func (x *UpdateUserRes) GetUser() *UserInfo

func (*UpdateUserRes) ProtoMessage

func (*UpdateUserRes) ProtoMessage()

func (*UpdateUserRes) ProtoReflect

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

func (*UpdateUserRes) Reset

func (x *UpdateUserRes) Reset()

func (*UpdateUserRes) String

func (x *UpdateUserRes) String() string

type UploadAvatarPlantReq

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

func (*UploadAvatarPlantReq) Descriptor deprecated

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

Deprecated: Use UploadAvatarPlantReq.ProtoReflect.Descriptor instead.

func (*UploadAvatarPlantReq) GetPath

func (x *UploadAvatarPlantReq) GetPath() string

func (*UploadAvatarPlantReq) ProtoMessage

func (*UploadAvatarPlantReq) ProtoMessage()

func (*UploadAvatarPlantReq) ProtoReflect

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

func (*UploadAvatarPlantReq) Reset

func (x *UploadAvatarPlantReq) Reset()

func (*UploadAvatarPlantReq) String

func (x *UploadAvatarPlantReq) String() string

type UploadAvatarPlantRes

type UploadAvatarPlantRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadAvatarPlantRes) Descriptor deprecated

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

Deprecated: Use UploadAvatarPlantRes.ProtoReflect.Descriptor instead.

func (*UploadAvatarPlantRes) GetSuccess

func (x *UploadAvatarPlantRes) GetSuccess() bool

func (*UploadAvatarPlantRes) ProtoMessage

func (*UploadAvatarPlantRes) ProtoMessage()

func (*UploadAvatarPlantRes) ProtoReflect

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

func (*UploadAvatarPlantRes) Reset

func (x *UploadAvatarPlantRes) Reset()

func (*UploadAvatarPlantRes) String

func (x *UploadAvatarPlantRes) String() string

type UploadAvatarReq

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

func (*UploadAvatarReq) Descriptor deprecated

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

Deprecated: Use UploadAvatarReq.ProtoReflect.Descriptor instead.

func (*UploadAvatarReq) GetPath

func (x *UploadAvatarReq) GetPath() string

func (*UploadAvatarReq) ProtoMessage

func (*UploadAvatarReq) ProtoMessage()

func (*UploadAvatarReq) ProtoReflect

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

func (*UploadAvatarReq) Reset

func (x *UploadAvatarReq) Reset()

func (*UploadAvatarReq) String

func (x *UploadAvatarReq) String() string

type UploadAvatarRes

type UploadAvatarRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadAvatarRes) Descriptor deprecated

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

Deprecated: Use UploadAvatarRes.ProtoReflect.Descriptor instead.

func (*UploadAvatarRes) GetSuccess

func (x *UploadAvatarRes) GetSuccess() bool

func (*UploadAvatarRes) ProtoMessage

func (*UploadAvatarRes) ProtoMessage()

func (*UploadAvatarRes) ProtoReflect

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

func (*UploadAvatarRes) Reset

func (x *UploadAvatarRes) Reset()

func (*UploadAvatarRes) String

func (x *UploadAvatarRes) String() string

type UserInfo

type UserInfo struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FullName    string                 `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Email       string                 `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Password    string                 `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Avatar      string                 `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	Address     string                 `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

UserInfo represents for an user information

func (*UserInfo) Descriptor deprecated

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetAddress

func (x *UserInfo) GetAddress() string

func (*UserInfo) GetAvatar

func (x *UserInfo) GetAvatar() string

func (*UserInfo) GetCreatedTime

func (x *UserInfo) GetCreatedTime() *timestamppb.Timestamp

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetFullName

func (x *UserInfo) GetFullName() string

func (*UserInfo) GetId

func (x *UserInfo) GetId() string

func (*UserInfo) GetPassword

func (x *UserInfo) GetPassword() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

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

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserSrvClient

type UserSrvClient interface {
	// auth rpc
	Register(ctx context.Context, in *RegisterUserReq, opts ...grpc.CallOption) (*RegisterUserRes, error)
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginRes, error)
	Read(ctx context.Context, in *ReadUserReq, opts ...grpc.CallOption) (*ReadUserRes, error)
	List(ctx context.Context, in *ListUserReq, opts ...grpc.CallOption) (*ListUserRes, error)
	Update(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UpdateUserRes, error)
	ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*ChangePasswordRes, error)
	UploadAvatar(ctx context.Context, in *UploadAvatarReq, opts ...grpc.CallOption) (*UploadAvatarRes, error)
}

UserSrvClient is the client API for UserSrv 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.

UserSrv: business logic of user-service

func NewUserSrvClient

func NewUserSrvClient(cc grpc.ClientConnInterface) UserSrvClient

type UserSrvServer

type UserSrvServer interface {
	// auth rpc
	Register(context.Context, *RegisterUserReq) (*RegisterUserRes, error)
	Login(context.Context, *LoginReq) (*LoginRes, error)
	Read(context.Context, *ReadUserReq) (*ReadUserRes, error)
	List(context.Context, *ListUserReq) (*ListUserRes, error)
	Update(context.Context, *UpdateUserReq) (*UpdateUserRes, error)
	ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordRes, error)
	UploadAvatar(context.Context, *UploadAvatarReq) (*UploadAvatarRes, error)
	// contains filtered or unexported methods
}

UserSrvServer is the server API for UserSrv service. All implementations must embed UnimplementedUserSrvServer for forward compatibility.

UserSrv: business logic of user-service

Jump to

Keyboard shortcuts

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