Categorygithub.com/cobaltspeech/sdk-cubic/grpc/go-cubic
modulepackage
1.6.5
Repository: https://github.com/cobaltspeech/sdk-cubic.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewClient creates a new Client that connects to a Cubic Server listening on the provided address.
WithClientCert returns an Option which sets up the given PEM certificate and key as the credentials presented by this Client when connecting to a server.
WithConnectTimeout returns an Option that configures the timeout for establishing grpc connection with the server.
WithInsecure returns an Option which disables transport security for this Client.
WithServerCert returns an Option which sets up the given PEM certificate as a root certificate that can validate the certificate presented by the server we are connecting to.
WithStreamingBufferSize returns an Option that sets up the buffer size (bytes) of each message sent from the Client to the server during streaming GRPC calls.

# Structs

Client is an object for interacting with the Cubic GRPC API.

# Type aliases

Option configures how we setup the connection with a server.
RecognitionResponseHandler is a type of callback function that will be called when the `StreamingRecognize` method is running.