clean up, attributes
This commit is contained in:
parent
51f08bd6e2
commit
4c0c488325
10
proto.go
10
proto.go
@ -1,5 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
|
// Yoinked from jetforce and go'ified
|
||||||
const (
|
const (
|
||||||
STATUS_INPUT = 10
|
STATUS_INPUT = 10
|
||||||
|
|
||||||
@ -29,15 +30,6 @@ const (
|
|||||||
STATUS_EXPIRED_CERTIFICATE_REJECTED = 65
|
STATUS_EXPIRED_CERTIFICATE_REJECTED = 65
|
||||||
)
|
)
|
||||||
|
|
||||||
type Request struct {
|
|
||||||
Hostname string
|
|
||||||
Port string
|
|
||||||
Path string
|
|
||||||
Params string
|
|
||||||
Query string
|
|
||||||
Fragment string
|
|
||||||
}
|
|
||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
Status int
|
Status int
|
||||||
Meta string
|
Meta string
|
||||||
|
Loading…
Reference in New Issue
Block a user