spell fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-03-06 23:33:37 +03:00
parent 39f66cc86c
commit a102e95433
3 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ type Options struct {
Wrappers []Wrapper Wrappers []Wrapper
// PoolSize connection pool size // PoolSize connection pool size
PoolSize int PoolSize int
// PoolTTL conection pool ttl // PoolTTL connection pool ttl
PoolTTL time.Duration PoolTTL time.Duration
} }

View File

@ -37,7 +37,7 @@ type Runtime interface {
// Logs returns a log stream // Logs returns a log stream
type Logs interface { type Logs interface {
// Error retuns error // Error returns error
Error() error Error() error
// Chan return chan log // Chan return chan log
Chan() chan Log Chan() chan Log

View File

@ -61,7 +61,7 @@ type Options struct {
Name string Name string
// Address holds the server address // Address holds the server address
Address string Address string
// Advertise holds the advertie addres // Advertise holds the advertise address
Advertise string Advertise string
// Version holds the server version // Version holds the server version
Version string Version string
@ -344,7 +344,7 @@ type SubscriberOption func(*SubscriberOptions)
type SubscriberOptions struct { type SubscriberOptions struct {
// Context holds the external options // Context holds the external options
Context context.Context Context context.Context
// Queue holds the subscribtion queue // Queue holds the subscription queue
Queue string Queue string
// AutoAck flag for auto ack messages after processing // AutoAck flag for auto ack messages after processing
AutoAck bool AutoAck bool