Documentation ¶
Index ¶
- Constants
- Variables
- func EqualStringSlices(a, b []string) bool
- func Mkdirp(dir string) error
- func ProtoNanos(ts *timestamp.Timestamp) int64
- func ProtoTime(ts *timestamp.Timestamp) time.Time
- func ProtoTs(nsec int64) *timestamp.Timestamp
- func ProtoTsIsNewer(ts1 *timestamp.Timestamp, ts2 *timestamp.Timestamp) bool
- func SplitString(in string, sep string) []string
- func TestURL(t *testing.T, addr string)
- func TrimQuotes(s string) string
- func UnmarshalString(body io.ReadCloser) (string, error)
- func WriteFileByPath(name string, data []byte) error
Constants ¶
View Source
const (
TestLogSchema = `` /* 684-byte string literal not displayed */
)
Variables ¶
View Source
var ( TestContact = &pb.Contact{ Address: "address1", Name: "joe", Avatar: "Qm123", Peers: []*pb.Peer{ { Id: "abcde", Address: "address1", Name: "joe", Avatar: "Qm123", Inboxes: []*pb.Cafe{{ Peer: "peer", Address: "address", Api: "v0", Protocol: "/textile/cafe/1.0.0", Node: "v1.0.0", Url: "https://mycafe.com", }}, }, }, } )
Functions ¶
func EqualStringSlices ¶ added in v0.5.4
func ProtoNanos ¶ added in v0.1.10
func ProtoTsIsNewer ¶ added in v0.1.10
func SplitString ¶ added in v0.1.10
func TrimQuotes ¶ added in v0.1.10
func UnmarshalString ¶ added in v0.1.10
func UnmarshalString(body io.ReadCloser) (string, error)
func WriteFileByPath ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.