You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow WithServerHostname to specify protocol (#153)
Updated WithServerHostname to allow prefixing the hostname with 'https:'
or 'http:' to specify which protocol to use. Github issue #140
Signed-off-by: Raymond Cypher <[email protected]>
Copy file name to clipboardExpand all lines: doc.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Use sql.OpenDB() to create a database handle via a new connector object created
70
70
71
71
Supported functional options include:
72
72
73
-
- WithServerHostname(<hostname> string): Sets up the server hostname. Mandatory
73
+
- WithServerHostname(<hostname> string): Sets up the server hostname. The hostname can be prefixed with "http:" or "https:" to specify a protocol to use. Mandatory
74
74
- WithPort(<port> int): Sets up the server port. Mandatory
75
75
- WithAccessToken(<my_token> string): Sets up the Personal Access Token. Mandatory
76
76
- WithHTTPPath(<http_path> string): Sets up the endpoint to the warehouse. Mandatory
0 commit comments