42 lines
2.2 KiB
Go
42 lines
2.2 KiB
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v4.0.2
|
|
// - protoc v4.23.4
|
|
// source: pkgdash.proto
|
|
|
|
package pkgdashpb
|
|
|
|
import (
|
|
context "context"
|
|
_ "go.unistack.org/micro/v4/client"
|
|
options "go.unistack.org/micro/v4/options"
|
|
)
|
|
|
|
var (
|
|
PkgdashServiceName = "PkgdashService"
|
|
)
|
|
|
|
type PkgdashServiceClient interface {
|
|
PackagesCreate(ctx context.Context, req *PackagesCreateReq, opts ...options.Option) (*PackagesCreateRsp, error)
|
|
PackagesDelete(ctx context.Context, req *PackagesDeleteReq, opts ...options.Option) (*PackagesDeleteRsp, error)
|
|
PackagesList(ctx context.Context, req *PackagesListReq, opts ...options.Option) (*PackagesListRsp, error)
|
|
PackagesUpdate(ctx context.Context, req *PackagesUpdateReq, opts ...options.Option) (*PackagesUpdateRsp, error)
|
|
CommentsCreate(ctx context.Context, req *CommentsCreateReq, opts ...options.Option) (*CommentsCreateRsp, error)
|
|
CommentsLookup(ctx context.Context, req *CommentsLookupReq, opts ...options.Option) (*CommentsLookupRsp, error)
|
|
CommentsList(ctx context.Context, req *CommentsListReq, opts ...options.Option) (*CommentsListRsp, error)
|
|
CommentsDelete(ctx context.Context, req *CommentsDeleteReq, opts ...options.Option) (*CommentsDeleteRsp, error)
|
|
ModulesList(ctx context.Context, req *ModulesListReq, opts ...options.Option) (*ModulesListRsp, error)
|
|
}
|
|
|
|
type PkgdashServiceServer interface {
|
|
PackagesCreate(ctx context.Context, req *PackagesCreateReq, rsp *PackagesCreateRsp) error
|
|
PackagesDelete(ctx context.Context, req *PackagesDeleteReq, rsp *PackagesDeleteRsp) error
|
|
PackagesList(ctx context.Context, req *PackagesListReq, rsp *PackagesListRsp) error
|
|
PackagesUpdate(ctx context.Context, req *PackagesUpdateReq, rsp *PackagesUpdateRsp) error
|
|
CommentsCreate(ctx context.Context, req *CommentsCreateReq, rsp *CommentsCreateRsp) error
|
|
CommentsLookup(ctx context.Context, req *CommentsLookupReq, rsp *CommentsLookupRsp) error
|
|
CommentsList(ctx context.Context, req *CommentsListReq, rsp *CommentsListRsp) error
|
|
CommentsDelete(ctx context.Context, req *CommentsDeleteReq, rsp *CommentsDeleteRsp) error
|
|
ModulesList(ctx context.Context, req *ModulesListReq, rsp *ModulesListRsp) error
|
|
}
|