From b8831b16f1a47d0b46eafcfcc6293288242775d2 Mon Sep 17 00:00:00 2001 From: Michael Gaffney Date: Wed, 12 May 2021 11:43:03 -0400 Subject: [PATCH] Fix some minor godoc problems --- internal/session/connection.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/session/connection.go b/internal/session/connection.go index 296c676ed..9e352e901 100644 --- a/internal/session/connection.go +++ b/internal/session/connection.go @@ -52,7 +52,7 @@ var ( _ db.VetForWriter = (*Connection)(nil) ) -// New creates a new in memory session. No options +// NewConnection creates a new in memory connection. No options // are currently supported. func NewConnection(sessionID, clientTcpAddress string, clientTcpPort uint32, endpointTcpAddr string, endpointTcpPort uint32, _ ...Option) (*Connection, error) { const op = "session.NewConnection" @@ -69,12 +69,12 @@ func NewConnection(sessionID, clientTcpAddress string, clientTcpPort uint32, end return &c, nil } -// AllocConnection will allocate a Session +// AllocConnection will allocate a connection. func AllocConnection() Connection { return Connection{} } -// Clone creates a clone of the Session +// Clone creates a clone of the connection. func (c *Connection) Clone() interface{} { clone := &Connection{ PublicId: c.PublicId,