Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultAerospikePool = &Pool{}
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.16.0
type Option func(srv *Service)
func WithBasePolicy ¶ added in v0.16.0
func WithBasePolicy(basePolicy *aero.BasePolicy) Option
WithBasePolicy will provide an initial BasePolicy. Even when overridden, the timeout will be applied UNLESS using WithBypassConfiguredTimeout.
func WithBypassConfiguredTimeout ¶ added in v0.16.0
func WithBypassConfiguredTimeout() Option
WithBypassConfiguredTimeout will bypass the configured timeout if using WithClientPolicy or WithBasePolicy.
func WithClientPolicy ¶ added in v0.16.0
func WithClientPolicy(clientPolicy *aero.ClientPolicy) Option
WithClientPolicy will provide an initial ClientPolicy. Even when overridden, the timeout will be applied UNLESS using WithBypassConfiguredTimeout.
type Service ¶
Service represents aerospike client Service
func New ¶
func New(config *datastore.Connection) (*Service, error)
New creates a new Aerospike service
func NewWithOptions ¶ added in v0.16.0
func NewWithOptions(config *datastore.Connection, options ...Option) (*Service, error)
Click to show internal directories.
Click to hide internal directories.