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
// PoolSize connection pool size
PoolSize int
// PoolTTL conection pool ttl
// PoolTTL connection pool ttl
PoolTTL time.Duration
}

View File

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

View File

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