type Instance struct {
// Name is an unique name of the instance.
Name string
// Dialer will be used to create a connection to the instance.
Dialer tarantool.Dialer
// Opts will be used to specify a connection options.
Opts tarantool.Opts
}
The type allows to specify a dialer and connection options per a pool instance. It is used in pool.Connect, pool.ConnectWithOpts and pool.Add to specify an instance configuration now.
The type Instance:
The type allows to specify a dialer and connection options per a pool instance. It is used in
pool.Connect
,pool.ConnectWithOpts
andpool.Add
to specify an instance configuration now.Closes https://github.com/tarantool/go-tarantool/issues/356