Versions in this module Expand all Collapse all v0 v0.0.20 Jul 8, 2024 Changes in this version + const Appsvc_Create_FullMethodName + const Appsvc_Delete_FullMethodName + const Appsvc_Get_FullMethodName + var Appsvc_ServiceDesc = grpc.ServiceDesc + var E_Http = annotations.E_Http + var File_appsvc_appsvc_proto protoreflect.FileDescriptor + func RegisterAppsvcHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAppsvcHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AppsvcClient) error + func RegisterAppsvcHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAppsvcHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AppsvcServer) error + func RegisterAppsvcServer(s grpc.ServiceRegistrar, srv AppsvcServer) + type AppsvcClient interface + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateReply, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error) + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error) + func NewAppsvcClient(cc grpc.ClientConnInterface) AppsvcClient + type AppsvcMeta struct + Appid int32 + CreateTime *timestamppb.Timestamp + Service *service.ServiceMeta + Svcid int32 + UpdateTime *timestamppb.Timestamp + Uuid int32 + func (*AppsvcMeta) Descriptor() ([]byte, []int) + func (*AppsvcMeta) ProtoMessage() + func (x *AppsvcMeta) GetAppid() int32 + func (x *AppsvcMeta) GetCreateTime() *timestamppb.Timestamp + func (x *AppsvcMeta) GetService() *service.ServiceMeta + func (x *AppsvcMeta) GetSvcid() int32 + func (x *AppsvcMeta) GetUpdateTime() *timestamppb.Timestamp + func (x *AppsvcMeta) GetUuid() int32 + func (x *AppsvcMeta) ProtoReflect() protoreflect.Message + func (x *AppsvcMeta) Reset() + func (x *AppsvcMeta) String() string + type AppsvcServer interface + Create func(context.Context, *CreateRequest) (*CreateReply, error) + Delete func(context.Context, *DeleteRequest) (*DeleteReply, error) + Get func(context.Context, *GetRequest) (*GetReply, error) + type CreateReply struct + Appsvc *AppsvcMeta + Code int32 + Message string + func (*CreateReply) Descriptor() ([]byte, []int) + func (*CreateReply) ProtoMessage() + func (x *CreateReply) GetAppsvc() *AppsvcMeta + func (x *CreateReply) GetCode() int32 + func (x *CreateReply) GetMessage() string + func (x *CreateReply) ProtoReflect() protoreflect.Message + func (x *CreateReply) Reset() + func (x *CreateReply) String() string + type CreateRequest struct + Appid int32 + Body *CreateRequest_Body + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (x *CreateRequest) GetAppid() int32 + func (x *CreateRequest) GetBody() *CreateRequest_Body + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateRequest_Body struct + ServiceId int32 + func (*CreateRequest_Body) Descriptor() ([]byte, []int) + func (*CreateRequest_Body) ProtoMessage() + func (x *CreateRequest_Body) GetServiceId() int32 + func (x *CreateRequest_Body) ProtoReflect() protoreflect.Message + func (x *CreateRequest_Body) Reset() + func (x *CreateRequest_Body) String() string + type DeleteReply struct + Code int32 + Message string + func (*DeleteReply) Descriptor() ([]byte, []int) + func (*DeleteReply) ProtoMessage() + func (x *DeleteReply) GetCode() int32 + func (x *DeleteReply) GetMessage() string + func (x *DeleteReply) ProtoReflect() protoreflect.Message + func (x *DeleteReply) Reset() + func (x *DeleteReply) String() string + type DeleteRequest struct + Appid int32 + Uuid int32 + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (x *DeleteRequest) GetAppid() int32 + func (x *DeleteRequest) GetUuid() int32 + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type GetReply struct + Appsvcs []*AppsvcMeta + Code int32 + Count int32 + Limit int32 + Message string + Page int32 + Total int32 + func (*GetReply) Descriptor() ([]byte, []int) + func (*GetReply) ProtoMessage() + func (x *GetReply) GetAppsvcs() []*AppsvcMeta + func (x *GetReply) GetCode() int32 + func (x *GetReply) GetCount() int32 + func (x *GetReply) GetLimit() int32 + func (x *GetReply) GetMessage() string + func (x *GetReply) GetPage() int32 + func (x *GetReply) GetTotal() int32 + func (x *GetReply) ProtoReflect() protoreflect.Message + func (x *GetReply) Reset() + func (x *GetReply) String() string + type GetRequest struct + Appid int32 + Limit int32 + Page int32 + Svcid int32 + Svcname string + Uuid int32 + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (x *GetRequest) GetAppid() int32 + func (x *GetRequest) GetLimit() int32 + func (x *GetRequest) GetPage() int32 + func (x *GetRequest) GetSvcid() int32 + func (x *GetRequest) GetSvcname() string + func (x *GetRequest) GetUuid() int32 + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type Timestamp = timestamppb.Timestamp + type UnimplementedAppsvcServer struct + func (UnimplementedAppsvcServer) Create(context.Context, *CreateRequest) (*CreateReply, error) + func (UnimplementedAppsvcServer) Delete(context.Context, *DeleteRequest) (*DeleteReply, error) + func (UnimplementedAppsvcServer) Get(context.Context, *GetRequest) (*GetReply, error) + type UnsafeAppsvcServer interface v0.0.19 Jul 8, 2024