feat: basic structure

This commit is contained in:
Noah Hsu
2022-06-06 21:48:53 +08:00
parent b76060570e
commit fced60c2b5
21 changed files with 520 additions and 4 deletions

20
internal/driver/link.go Normal file
View File

@ -0,0 +1,20 @@
package driver
import (
"io"
"net/http"
)
type LinkArgs struct {
Path string
IP string
Header http.Header
}
type Link struct {
URL string
Header http.Header
Data io.ReadCloser
Status int
FilePath string
}