datasource

package
v2.0.0-...-0eae77d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQLApi

type GraphQLApi struct {
	mock.Mock
}

func (*GraphQLApi) FetchByNumber

func (g *GraphQLApi) FetchByNumber(id string) (*model.QuestionListQuery, error)

func (*GraphQLApi) FetchBySlug

func (g *GraphQLApi) FetchBySlug(titleSlug string) (*model.QuestionQuery, error)

func (*GraphQLApi) FetchDailyChallengesOfMonth

func (g *GraphQLApi) FetchDailyChallengesOfMonth(year int, month int) (*model.DailyChallengesQuery, error)

type WebScrapper

type WebScrapper struct {
	mock.Mock
}

func (*WebScrapper) ScrapeNameOfDailyChallenge

func (w *WebScrapper) ScrapeNameOfDailyChallenge() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL