dependency/dependency.go
func respWithMetadata(i interface{}) (interface{}, *ResponseMetadata, error) {
	return i, &ResponseMetadata{
		LastContact: 0,
		LastIndex:   uint64(time.Now().Unix()),
	}, nil
}
func respWithMetadata(i interface{}) (interface{}, *ResponseMetadata, error) {
	return i, &ResponseMetadata{
		LastContact: 0,
		LastIndex:   uint64(time.Now().Unix()),
	}, nil
}
func respWithMetadata ( i interface { } ) ( interface { } , * ResponseMetadata , error ) { return i , & ResponseMetadata { LastContact : 0 , LastIndex : uint64 ( time . Now ( ) . Unix ( ) ) , } , nil }
// respWithMetadata is a short wrapper to return the given interface with fake
// response metadata for non-Consul dependencies.
respWithMetadata is a short wrapper to return the given interface with fake response metadata for non - Consul dependencies .