Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusInput = 10 StatusSensitiveInput = 11 StatusSuccess = 20 StatusRedirectTemporary = 30 StatusRedirectPermanent = 31 StatusTemporaryFailure = 40 StatusCGIError = 42 StatusProxyError = 43 StatusSlowDown = 44 StatusPermanentFailure = 50 StatusNotFound = 51 StatusGone = 52 StatusProxyRequestRefused = 53 StatusBadRequest = 59 StatusClientCertificateRequired = 60 StatusCertificateNotAuthorised = 61 StatusCertificateNotValid = 62 )
Variables ¶
View Source
var DefaultClient = Client{}
View Source
var ErrUseLastResponse = errors.New("net/gemini: use last response")
Functions ¶
func StatusText ¶
Types ¶
type Request ¶
type Request struct { URL *url.URL Cert *tls.Certificate // contains filtered or unexported fields }
func NewRequest ¶
Click to show internal directories.
Click to hide internal directories.