Documentation
¶
Overview ¶
Package say is a generated protocol buffer package.
It is generated from these files:
say.proto
It has these top-level messages:
Text Speech
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTextToSpeechServer ¶
func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer)
Types ¶
type Speech ¶
type Speech struct {
Audio []byte `protobuf:"bytes,1,opt,name=audio,proto3" json:"audio,omitempty"`
}
func (*Speech) Descriptor ¶
func (*Speech) ProtoMessage ¶
func (*Speech) ProtoMessage()
type Text ¶
type Text struct {
Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}
func (*Text) Descriptor ¶
func (*Text) ProtoMessage ¶
func (*Text) ProtoMessage()
type TextToSpeechClient ¶
type TextToSpeechClient interface {
Say(ctx context.Context, in *Text, opts ...grpc.CallOption) (*Speech, error)
}
func NewTextToSpeechClient ¶
func NewTextToSpeechClient(cc *grpc.ClientConn) TextToSpeechClient
Click to show internal directories.
Click to hide internal directories.