Documentation ¶
Index ¶
- Constants
- Variables
- func GetCred(prov string) (string, bool)
- func Must(err error)
- func SetCred(prov, cred string)
- func TransposeHeader(header http.Header, keys ...string) (ret http.Header)
- func TransposeValues(values url.Values, keys ...string) (ret url.Values)
- type Client
- type FMap
- type FormatString
Constants ¶
View Source
const ( StartDelimiter = '{' EndDelimiter = '}' )
Variables ¶
View Source
var StopRedirect = func(_ *http.Request, _ []*http.Request) error { return http.ErrUseLastResponse }
Functions ¶
Types ¶
type FormatString ¶
type FormatString struct {
// contains filtered or unexported fields
}
func NewFormatString ¶
func NewFormatString(inp string) *FormatString
func (*FormatString) Format ¶
func (f *FormatString) Format(fmap FMap) string
func (*FormatString) UnmarshalText ¶
func (f *FormatString) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.