services

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GEp = new(Ep).init()

Functions

This section is empty.

Types

type Ep

type Ep struct {
	i.Ep
	Name      string
	Limit     int
	Misc      map[string]interface{}
	Urls      map[string]*url.URL
	UrlStr    map[string]string
	Cak       map[string]string
	CaPrefix  []string
	CookieJar http.CookieJar
	CookEx    sync.RWMutex
	CookC     *sync.Cond
	Req       grequests.RequestOptions
	Config    map[string]interface{}
	Arr       bool
	Active    bool
	Txtrq     *t.TextReq
	Translate func(source string, target string, pinput i.Pinput) i.Pinput
	PreReq    func(pinput i.Pinput) (t.SMII, t.MISI)
	GenReq    i.Genreq
	MkReq     func(source string, target string) *grequests.RequestOptions
	GetLangs  func() map[string]string
}

func (*Ep) GenC

func (ep *Ep) GenC(serviceL string) bool

func (*Ep) GenQ

func (ep *Ep) GenQ(source string, target string, input t.SMII, order t.MISI, genReqFun i.Genreq, req *grequests.RequestOptions) (inputs map[int]*grequests.RequestOptions, str_ar []interface{})

func (*Ep) InitBing

func (se *Ep) InitBing(map[string]interface{})

func (*Ep) InitFrengly

func (se *Ep) InitFrengly(map[string]interface{})

func (*Ep) InitGoogle

func (se *Ep) InitGoogle(map[string]interface{})

func (*Ep) InitMultillect

func (se *Ep) InitMultillect(map[string]interface{})

func (*Ep) InitPromt

func (se *Ep) InitPromt(map[string]interface{})

func (*Ep) InitSystran

func (se *Ep) InitSystran(options map[string]interface{})

func (*Ep) InitYandex

func (se *Ep) InitYandex(map[string]interface{})

func (*Ep) JoinTranslated

func (ep *Ep) JoinTranslated(str_ar []interface{}, input interface{}, translation interface{}, glue string) i.Pinput

func (*Ep) RetReqs

func (ep *Ep) RetReqs(dst interface{}, tp string, verb string, url string, reqs map[int]*grequests.RequestOptions) interface{}

Jump to

Keyboard shortcuts

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