Documentation
¶
Index ¶
- func NewInfra() infra.Service
- func NewMobile(ctx context.Context) mobile.Service
- func NewOpenapi() openapi.Service
- func NewWeb(ctx context.Context) web.Service
- func NewWebImplementation(ctx context.Context) web.Service
- type WebImpl
- func (w *WebImpl) Articles(ctx context.Context, p *web.ArticlesPayload) (res []*web.AnalyzedArticle, err error)
- func (w *WebImpl) BasicAuth(ctx context.Context, user, pass string, scheme *security.BasicScheme) (context.Context, error)
- func (w *WebImpl) ContextByDomain(ctx context.Context, p *web.ContextByDomainPayload) (res []*web.TrendContext, err error)
- func (w *WebImpl) DomainComparisonEndpoint(ctx context.Context, p *web.DomainComparisonPayload) (res []*web.DomainComparison, err error)
- func (w *WebImpl) Domains(ctx context.Context, p *web.DomainsPayload) (res []*web.DomainEntry, err error)
- func (w *WebImpl) Item(ctx context.Context, p *web.ItemPayload) (res *web.AnalyzedItem, err error)
- func (w *WebImpl) LifecycleByDomain(ctx context.Context, p *web.LifecycleByDomainPayload) (res []*web.Lifecycle, err error)
- func (w *WebImpl) Sentiments(ctx context.Context, p *web.SentimentsPayload) (res *web.SentimentItem, err error)
- func (w *WebImpl) Site(ctx context.Context, p *web.SitePayload) (res []*web.AnalyzedSiteItem, err error)
- func (w *WebImpl) TopTrendsByDomain(ctx context.Context, p *web.TopTrendsByDomainPayload) (res []*web.TrendMetric, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpenapi ¶
NewOpenapi returns the openapi service implementation.
Types ¶
type WebImpl ¶
type WebImpl struct {
// contains filtered or unexported fields
}
WebImpl implements the web service example behavior.
func (*WebImpl) Articles ¶
func (w *WebImpl) Articles(ctx context.Context, p *web.ArticlesPayload) (res []*web.AnalyzedArticle, err error)
func (*WebImpl) ContextByDomain ¶
func (w *WebImpl) ContextByDomain(ctx context.Context, p *web.ContextByDomainPayload) (res []*web.TrendContext, err error)
func (*WebImpl) DomainComparisonEndpoint ¶
func (w *WebImpl) DomainComparisonEndpoint(ctx context.Context, p *web.DomainComparisonPayload) (res []*web.DomainComparison, err error)
func (*WebImpl) Domains ¶
func (w *WebImpl) Domains(ctx context.Context, p *web.DomainsPayload) (res []*web.DomainEntry, err error)
func (*WebImpl) Item ¶
func (w *WebImpl) Item(ctx context.Context, p *web.ItemPayload) (res *web.AnalyzedItem, err error)
func (*WebImpl) LifecycleByDomain ¶
func (*WebImpl) Sentiments ¶
func (w *WebImpl) Sentiments(ctx context.Context, p *web.SentimentsPayload) (res *web.SentimentItem, err error)
func (*WebImpl) Site ¶
func (w *WebImpl) Site(ctx context.Context, p *web.SitePayload) (res []*web.AnalyzedSiteItem, err error)
func (*WebImpl) TopTrendsByDomain ¶
func (w *WebImpl) TopTrendsByDomain(ctx context.Context, p *web.TopTrendsByDomainPayload) (res []*web.TrendMetric, err error)
Click to show internal directories.
Click to hide internal directories.