29 lines
952 B
Go
29 lines
952 B
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v3.10.4
|
|
// - protoc v4.23.4
|
|
// source: pkgdash.proto
|
|
|
|
package pkgdashpb
|
|
|
|
import (
|
|
context "context"
|
|
client "go.unistack.org/micro/v3/client"
|
|
)
|
|
|
|
var (
|
|
PkgdashServiceName = "PkgdashService"
|
|
)
|
|
|
|
type PkgdashServiceClient interface {
|
|
ListPackage(ctx context.Context, req *ListPackageReq, opts ...client.CallOption) (*ListPackageRsp, error)
|
|
UpdateInfo(ctx context.Context, req *UpdateInfoPackageReq, opts ...client.CallOption) (*UpdateInfoPackageRsp, error)
|
|
AddComment(ctx context.Context, req *CommentReq, opts ...client.CallOption) (*CommentRsp, error)
|
|
}
|
|
|
|
type PkgdashServiceServer interface {
|
|
ListPackage(ctx context.Context, req *ListPackageReq, rsp *ListPackageRsp) error
|
|
UpdateInfo(ctx context.Context, req *UpdateInfoPackageReq, rsp *UpdateInfoPackageRsp) error
|
|
AddComment(ctx context.Context, req *CommentReq, rsp *CommentRsp) error
|
|
}
|