Skip to content

Commit

Permalink
Add package comments for exported variables and functions in statute …
Browse files Browse the repository at this point in the history
…package.
  • Loading branch information
DanielcoderX committed Sep 4, 2023
1 parent 64a2815 commit 7809333
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions socks5/statute/addr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statute provides functionality for handling SOCKS5 protocol messages and addresses.
package statute

import (
Expand Down
1 change: 1 addition & 0 deletions socks5/statute/auth.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statute provides functionality for handling SOCKS5 protocol authentication.
package statute

import (
Expand Down
1 change: 1 addition & 0 deletions socks5/statute/datagram.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statute provides functionality for handling SOCKS5 protocol authentication.
package statute

import (
Expand Down
1 change: 1 addition & 0 deletions socks5/statute/message.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statute provides functionality for handling SOCKS5 protocol authentication.
package statute

import (
Expand Down
1 change: 1 addition & 0 deletions socks5/statute/method.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statute provides functionality for handling SOCKS5 protocol authentication.
package statute

import (
Expand Down
3 changes: 3 additions & 0 deletions socks5/statute/statute.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package statute provides functionality for handling SOCKS5 protocol authentication.
package statute

import (
Expand All @@ -6,6 +7,8 @@ import (

// VersionSocks5 socks5 protocol version
const VersionSocks5 = byte(0x05)

// VersionSocks4 socks4 protocol version
const VersionSocks4 = byte(0x04)

// request command defined
Expand Down

0 comments on commit 7809333

Please sign in to comment.