2023-08-11 21:27:38 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-08-11 21:45:08 +03:00
|
|
|
// - protoc-gen-go-micro v4.0.2
|
2023-08-11 21:27:38 +03:00
|
|
|
// - protoc v4.23.4
|
|
|
|
// source: pkgdash.proto
|
|
|
|
|
|
|
|
package pkgdashpb
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2023-08-11 21:45:08 +03:00
|
|
|
_ "go.unistack.org/micro/v4/client"
|
|
|
|
options "go.unistack.org/micro/v4/options"
|
2023-08-11 21:27:38 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
PkgdashServiceName = "PkgdashService"
|
|
|
|
)
|
|
|
|
|
|
|
|
type PkgdashServiceClient interface {
|
2023-08-11 21:45:08 +03:00
|
|
|
ListPackage(ctx context.Context, req *ListPackageReq, opts ...options.Option) (*ListPackageRsp, error)
|
|
|
|
UpdatePackage(ctx context.Context, req *UpdatePackageReq, opts ...options.Option) (*UpdatePackageRsp, error)
|
|
|
|
AddComment(ctx context.Context, req *AddCommentReq, opts ...options.Option) (*AddCommentRsp, error)
|
|
|
|
AddPackage(ctx context.Context, req *AddPackageReq, opts ...options.Option) (*AddPackageRsp, error)
|
|
|
|
GetModule(ctx context.Context, req *GetModuleReq, opts ...options.Option) (*GetModuleRsp, error)
|
2023-08-11 21:27:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
type PkgdashServiceServer interface {
|
|
|
|
ListPackage(ctx context.Context, req *ListPackageReq, rsp *ListPackageRsp) error
|
2023-08-11 21:45:08 +03:00
|
|
|
UpdatePackage(ctx context.Context, req *UpdatePackageReq, rsp *UpdatePackageRsp) error
|
|
|
|
AddComment(ctx context.Context, req *AddCommentReq, rsp *AddCommentRsp) error
|
|
|
|
AddPackage(ctx context.Context, req *AddPackageReq, rsp *AddPackageRsp) error
|
|
|
|
GetModule(ctx context.Context, req *GetModuleReq, rsp *GetModuleRsp) error
|
2023-08-11 21:27:38 +03:00
|
|
|
}
|