Documentation ¶
Index ¶
- func CheckErrUint64(value string, err error) *wrappers.UInt64Value
- func CheckTime(t *time.Time, err error) (*timestamp.Timestamp, error)
- func CheckValueErrInt(value int, err error) *wrappers.StringValue
- func CheckValueErrStr(value string, err error) *wrappers.StringValue
- func IsPublicIPv4(ip net.IP) bool
- func SetMatcher(r *http.Request, i cassette.Request) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrUint64 ¶
func CheckErrUint64(value string, err error) *wrappers.UInt64Value
CheckErrUint64 function returns nil when an error occurred otherwise returns value in wrappers.UInt64Value format.
func CheckTime ¶
CheckTime function returns nil and error when an error occurred otherwise returns time in timestamp.Timestamp format.
func CheckValueErrInt ¶
func CheckValueErrInt(value int, err error) *wrappers.StringValue
CheckValueErrInt function returns nil when an error occurred otherwise returns value in wrappers.StringValue format.
func CheckValueErrStr ¶
func CheckValueErrStr(value string, err error) *wrappers.StringValue
CheckValueErrStr function returns nil when an error occurred otherwise returns value in wrappers.StringValue format.
func IsPublicIPv4 ¶
IsPublicIPv4 function returns true when IP is public IPv4 otherwise returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.