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
Copy file name to clipboardexpand all lines: README.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Set of features is sufficient for PXE boot support.
17
17
import"github.com/pin/tftp/v3"
18
18
```
19
19
20
-
The package is cohesive to Golang `io`. Particularly it implements
20
+
The package is cohesive to Golang `io` and implements
21
21
`io.ReaderFrom` and `io.WriterTo` interfaces. That allows efficient data
22
22
transmission without unnecessary memory copying and allocations.
23
23
@@ -71,6 +71,8 @@ func main() {
71
71
}
72
72
```
73
73
74
+
See [gotftpd](https://github.com/pin/golang-tftp-example/blob/master/src/gotftpd/main.go) in [golang-tftp-example](https://github.com/pin/golang-tftp-example) repository for working code.
75
+
74
76
TFTP Client
75
77
-----------
76
78
Upload file to server:
@@ -98,7 +100,7 @@ n, err := wt.WriteTo(file)
98
100
fmt.Printf("%d bytes received\n", n)
99
101
```
100
102
101
-
Note: please handle errors better :)
103
+
See [goftp](https://github.com/pin/golang-tftp-example/blob/master/src/gotftp/main.go) in [golang-tftp-example](https://github.com/pin/golang-tftp-example) repository for working code.
0 commit comments