(u string)
| 55 | } |
| 56 | |
| 57 | func IsRemote(u string) bool { |
| 58 | return strings.HasPrefix(u, "http://") || strings.HasPrefix(u, "https://") |
| 59 | } |
| 60 | |
| 61 | func LookupPoolByName(ctx context.Context, api Interface, name string) (*pools.Config, error) { |
| 62 | b := newBuffer(pools.Config{}) |