Skip to content

Commit 773df6b

Browse files
author
Aaron Schlesinger
committed
doc(pkg/gitreceive/storage/endpoint.go): add documentation for the endpoint struct
1 parent 94c1f6d commit 773df6b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/gitreceive/storage/endpoint.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ func stripScheme(str string) string {
3333
return str
3434
}
3535

36+
// Endpoint represents all the details about a storage endpoint
3637
type Endpoint struct {
38+
// URLStr is the url string, stripped of its scheme
3739
URLStr string
40+
// Secure determines if TLS should be used (e.g. a "https://" scheme)
3841
Secure bool
3942
}
4043

0 commit comments

Comments
 (0)