registry

package
v0.0.0-...-4cd1d87 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainService

type DomainService interface {
	NewClassifierService() domain.ClassifierService
}

func NewDomainService

func NewDomainService(config *ServiceConfig) DomainService

type Presenter

type Presenter interface {
	NewMessagePresenter() ipresenter.MessagePresenter
}

func NewPresenter

func NewPresenter(config *PresenterConfig) Presenter

type PresenterConfig

type PresenterConfig struct {
	View view.TwitterView
}

type ServiceConfig

type ServiceConfig struct {
	ClassifierServerHost       string
	MediaDownloadRetryNum      int
	MediaDownloadRetryInterval int
	TwitterService             *itwitter.Twitter
}

type View

type View interface {
	NewMessageView() view.TwitterView
}

func NewView

func NewView(config *ViewConfig) View

type ViewConfig

type ViewConfig struct {
	ConsumerKey       string
	ConsumerSecret    string
	AccessToken       string
	AccessTokenSecret string
}

Jump to

Keyboard shortcuts

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