Versions in this module Expand all Collapse all v0 v0.0.1 Mar 24, 2020 Changes in this version + var DefaultEndpoint = url.Parse("https://127.0.0.1:3000") + var DefaultFormat = "json" + var DefaultInterval = time.Second * 1 + var DefaultRetries = 10 + var DefaultTimeout = time.Second * 5 + var DefaultTlsConfig = tls.Config + func NewSource(projectId int, files string, opts ...source.Option) source.Source + func RespSha256(response *http.Response) string + func WithBranch(u string) source.Option + func WithEndpoint(u url.URL) source.Option + func WithInterval(u time.Duration) source.Option + func WithRetries(u int) source.Option + func WithTimeout(u time.Duration) source.Option + func WithTlsConfig(u tls.Config) source.Option + func WithToken(u string) source.Option + type Url2Source struct + Interval time.Duration + func (u *Url2Source) Read() (*source.ChangeSet, error) + func (u *Url2Source) String() string + func (u *Url2Source) Watch() (source.Watcher, error)