15 lines
271 B
Go
15 lines
271 B
Go
package gemini
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var crlf = []byte("\r\n")
|
|
|
|
// Errors.
|
|
var (
|
|
ErrInvalidURL = errors.New("gemini: invalid URL")
|
|
ErrInvalidResponse = errors.New("gemini: invalid response")
|
|
ErrBodyNotAllowed = errors.New("gemini: response body not allowed")
|
|
)
|