Back to

Package file

Latest Go to latest

The highest tagged major version is .

Published: Jul 31, 2020 | License: BSD-3-Clause | Module:



var File_file_file_service_proto protoreflect.FileDescriptor

func RegisterFileServiceServer

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

type FileServiceClient

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

type FileServiceServer

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.

type UnimplementedFileServiceServer

type UnimplementedFileServiceServer struct {

UnimplementedFileServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFileServiceServer) LookupFile

func (*UnimplementedFileServiceServer) LookupFile(context.Context, *api.LookupFileReq) (*api.LookupFileResp, error)

func (*UnimplementedFileServiceServer) StoreFile

func (*UnimplementedFileServiceServer) StoreFile(context.Context, *api.StoreFileReq) (*api.StoreFileResp, error)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier