go-gemini/gemini.go
2020-11-09 12:04:53 -05:00

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")
)