Documentation ¶
Index ¶
Constants ¶
View Source
const ( // APIEndpoint is Google Assistant API endpoint APIEndpoint = "embeddedassistant.googleapis.com:443" // ScopeAssistantSDK is The API scope for Google Assistant ScopeAssistantSDK = "https://www.googleapis.com/auth/assistant-sdk-prototype" )
View Source
const GoogleSampleRate int32 = 16000
GoogleSampleRate is sample rate for google home speaker
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfig ¶
func GetDefaultConfig() embedded.AssistConfig
Types ¶
type Client ¶
type Client struct { Context context.Context Config embedded.AssistConfig Token oauth2.TokenSource Timeout time.Duration }
type Request ¶
type Request struct { Context context.Context Config embedded.AssistConfig Token oauth2.TokenSource Timeout time.Duration }
Click to show internal directories.
Click to hide internal directories.