Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultFetcher ¶
type DefaultFetcher struct {
// contains filtered or unexported fields
}
func NewDefaultFetcher ¶
func NewDefaultFetcher(client Client) *DefaultFetcher
func (*DefaultFetcher) ApprovedFetch ¶
func (f *DefaultFetcher) ApprovedFetch(urlStr string) (string, error)
func (*DefaultFetcher) OGSCheckEnded ¶
func (f *DefaultFetcher) OGSCheckEnded(ogsURL string) (bool, error)
type EmptyFetcher ¶
type EmptyFetcher struct{}
func NewEmptyFetcher ¶
func NewEmptyFetcher() *EmptyFetcher
func (*EmptyFetcher) ApprovedFetch ¶
func (f *EmptyFetcher) ApprovedFetch(s string) (string, error)
func (*EmptyFetcher) OGSCheckEnded ¶
func (f *EmptyFetcher) OGSCheckEnded(s string) (bool, error)
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient(sgf string) *MockClient
type MockFetcher ¶
type MockFetcher struct {
// contains filtered or unexported fields
}
func NewMockFetcher ¶
func NewMockFetcher(body string) *MockFetcher
func (*MockFetcher) ApprovedFetch ¶
func (mf *MockFetcher) ApprovedFetch(s string) (string, error)
func (*MockFetcher) OGSCheckEnded ¶
func (mf *MockFetcher) OGSCheckEnded(s string) (bool, error)
Click to show internal directories.
Click to hide internal directories.