server: go.chromium.org/goma/server/proto/file Index | Files

package devtools_goma

import "go.chromium.org/goma/server/proto/file"

Index

Package Files

file_service.pb.go

func RegisterFileServiceServer Uses

func RegisterFileServiceServer(s *grpc.Server, srv FileServiceServer)

type FileServiceClient Uses

type FileServiceClient interface {
    StoreFile(ctx context.Context, in *api.StoreFileReq, opts ...grpc.CallOption) (*api.StoreFileResp, error)
    LookupFile(ctx context.Context, in *api.LookupFileReq, opts ...grpc.CallOption) (*api.LookupFileResp, error)
}

FileServiceClient is the client API for FileService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFileServiceClient Uses

func NewFileServiceClient(cc *grpc.ClientConn) FileServiceClient

type FileServiceServer Uses

type FileServiceServer interface {
    StoreFile(context.Context, *api.StoreFileReq) (*api.StoreFileResp, error)
    LookupFile(context.Context, *api.LookupFileReq) (*api.LookupFileResp, error)
}

FileServiceServer is the server API for FileService service.

Package devtools_goma imports 6 packages (graph) and is imported by 9 packages. Updated 2019-05-20. Refresh now. Tools for package owners.