Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientV6 ¶
func NewClientV6(isRead bool, addr *util.DBAddress, esClientOpts ...esv6.ClientOptionFunc) (*esv6.Client, error)
NewClientV6 快速实例化一个 elastic search 6.x API版本的 elastic.Client
func NewClientV7 ¶
func NewClientV7(isRead bool, addr *util.DBAddress, esClientOpts ...esv7.ClientOptionFunc) (*esv7.Client, error)
NewClientV7 快速实例化一个 elastic search 7.x API版本的 elastic.Client
Types ¶
Click to show internal directories.
Click to hide internal directories.