Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ElasticsearchAPIDefaultScheme is the HTTP scheme for the default server. ElasticsearchAPIDefaultScheme string = "https" // ElasticsearchAPIDefaultHost is the HTTP host for the default server. ElasticsearchAPIDefaultHost string = "127.0.0.1:9200" // ElasticsearchAPIDefaultHost is the HTTP host for the default server. ElasticsearchAPIDefaultURL string = "https://127.0.0.1:9200" // CreateSlug is the URL path part for creates. CreateSlug string = "_create" // UpdateSlug is the URL path part for updates. UpdateSlug string = "_update" // SearchSlug is the URL path part for search. SearchSlug string = "_search" )
Variables ¶
This section is empty.
Functions ¶
func NewSimpleClient ¶ added in v0.4.0
func NewSimpleClient(serverURL, username, password string, allowInsecure bool) (httpsimple.Client, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.