Documentation ¶
Index ¶
- Constants
- func Color(str string, color uint8) string
- func ColorStart(color uint8) string
- func ColorfulHTML(str string) string
- func ColorfulHeader(str string) string
- func ColorfulResponse(str string, isJSON bool, pretty bool) string
- func IsBlowEnv() bool
- func NewConditionalLock(condition bool) sync.Locker
- func TryStartAsBlow() bool
- type Bench
- type ConditionLock
- type Durations
- type HttpieArg
- func (a *HttpieArg) AddQuery(k, v string)
- func (a *HttpieArg) Build(method string, form bool) *HttpieArgBody
- func (a *HttpieArg) MaybePost() bool
- func (a *HttpieArg) SetHeader(k, v string)
- func (a *HttpieArg) SetJsonMap(k string, v interface{})
- func (a *HttpieArg) SetParam(k, v string)
- func (a *HttpieArg) SetPostFile(formname, filename string)
- type HttpieArgBody
- type Invoker
- type Opt
- type Pair
Constants ¶
View Source
const ( Gray = uint8(iota + 90) Red Green Yellow Blue Magenta Cyan White EndColor = "\033[0m" )
Variables ¶
This section is empty.
Functions ¶
func ColorStart ¶
func ColorfulHTML ¶
func ColorfulHeader ¶
func NewConditionalLock ¶
func TryStartAsBlow ¶
func TryStartAsBlow() bool
Types ¶
type Bench ¶
type Bench struct {
// contains filtered or unexported fields
}
type ConditionLock ¶
type ConditionLock struct {
// contains filtered or unexported fields
}
func (*ConditionLock) Lock ¶
func (c *ConditionLock) Lock()
func (*ConditionLock) Unlock ¶
func (c *ConditionLock) Unlock()
type HttpieArg ¶
type HttpieArg struct {
// contains filtered or unexported fields
}
func (*HttpieArg) SetJsonMap ¶
func (*HttpieArg) SetPostFile ¶
type HttpieArgBody ¶
type HttpieArgBody struct { Multipart bool ContentType string Body io.ReadCloser BodyString string }
Click to show internal directories.
Click to hide internal directories.