Documentation
¶
Index ¶
- type DepsDevAPIClient
- func (c *DepsDevAPIClient) GetPackage(ctx context.Context, in *pb.GetPackageRequest, opts ...grpc.CallOption) (*pb.Package, error)
- func (c *DepsDevAPIClient) GetRequirements(ctx context.Context, in *pb.GetRequirementsRequest, opts ...grpc.CallOption) (*pb.Requirements, error)
- func (c *DepsDevAPIClient) GetVersion(ctx context.Context, in *pb.GetVersionRequest, opts ...grpc.CallOption) (*pb.Version, error)
- func (c *DepsDevAPIClient) GobDecode(b []byte) error
- func (c *DepsDevAPIClient) GobEncode() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepsDevAPIClient ¶
type DepsDevAPIClient struct {
pb.InsightsClient
// contains filtered or unexported fields
}
DepsDevAPIClient is a wrapper for InsightsClient that caches requests.
func NewDepsDevAPIClient ¶
func NewDepsDevAPIClient(addr string) (*DepsDevAPIClient, error)
func (*DepsDevAPIClient) GetPackage ¶
func (c *DepsDevAPIClient) GetPackage(ctx context.Context, in *pb.GetPackageRequest, opts ...grpc.CallOption) (*pb.Package, error)
func (*DepsDevAPIClient) GetRequirements ¶
func (c *DepsDevAPIClient) GetRequirements(ctx context.Context, in *pb.GetRequirementsRequest, opts ...grpc.CallOption) (*pb.Requirements, error)
func (*DepsDevAPIClient) GetVersion ¶
func (c *DepsDevAPIClient) GetVersion(ctx context.Context, in *pb.GetVersionRequest, opts ...grpc.CallOption) (*pb.Version, error)
func (*DepsDevAPIClient) GobDecode ¶
func (c *DepsDevAPIClient) GobDecode(b []byte) error
func (*DepsDevAPIClient) GobEncode ¶
func (c *DepsDevAPIClient) GobEncode() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.