Versions in this module Expand all Collapse all v1 v1.0.0 Sep 8, 2021 Changes in this version + type GRPCClient struct + func NewGRPCClient(grpcAddress string) (*GRPCClient, error) + func NewGRPCClientWithContext(grpcAddress string, baseCtx context.Context) (*GRPCClient, error) + func NewGRPCClientWithContextTLS(grpcAddress string, baseCtx context.Context, certFile, commonName string) (*GRPCClient, error) + func (c *GRPCClient) BulkDelete(req *protobuf.DeleteDocuments, opts ...grpc.CallOption) (*emptypb.Empty, error) + func (c *GRPCClient) Close() error + func (c *GRPCClient) Cluster(opts ...grpc.CallOption) (*protobuf.ClusterResponse, error) + func (c *GRPCClient) Delete(req *protobuf.DeleteDocument, opts ...grpc.CallOption) (*emptypb.Empty, error) + func (c *GRPCClient) DeleteDictionary(in *protobuf.DeleteDictionaryRequest, opts ...grpc.CallOption) (*protobuf.DictionaryResponse, error) + func (c *GRPCClient) Join(req *protobuf.JoinRequest, opts ...grpc.CallOption) error + func (c *GRPCClient) Leave(req *protobuf.LeaveRequest, opts ...grpc.CallOption) error + func (c *GRPCClient) LivenessCheck(opts ...grpc.CallOption) (*protobuf.LivenessCheckResponse, error) + func (c *GRPCClient) Node(opts ...grpc.CallOption) (*protobuf.NodeResponse, error) + func (c *GRPCClient) ReadinessCheck(opts ...grpc.CallOption) (*protobuf.ReadinessCheckResponse, error) + func (c *GRPCClient) Search(req *protobuf.SearchRequest, opts ...grpc.CallOption) (*protobuf.SearchResponse, error) + func (c *GRPCClient) Target() string + func (c *GRPCClient) Upload(req *protobuf.Documents, opts ...grpc.CallOption) (*emptypb.Empty, error) + func (c *GRPCClient) UploadDictionary(in *protobuf.UserDictionaryRecords, opts ...grpc.CallOption) (*protobuf.DictionaryResponse, error) + func (c *GRPCClient) Watch(opts ...grpc.CallOption) (protobuf.Docsearch_WatchClient, error)