Documentation ¶
Index ¶
- type Callcenter
- func (c *Callcenter) AddAgent(r *colly.Response)
- func (c *Callcenter) Agent() string
- func (c *Callcenter) Extension() string
- func (c *Callcenter) GetAgentID(source string) string
- func (c *Callcenter) IsAlreadyInCallcenter(source string) bool
- func (c *Callcenter) NextTierKey(fields map[string]string) string
- func (c *Callcenter) RemoveAgent(r *colly.Response)
- func (c *Callcenter) SetAgent(agent string)
- func (c *Callcenter) SetExtension(extension string)
- func (c *Callcenter) TierUUID(source string) string
- func (c *Callcenter) VisitCallcenter(e *colly.HTMLElement)
- type Credential
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callcenter ¶
type Callcenter struct {
// contains filtered or unexported fields
}
func NewCallcenter ¶
func NewCallcenter() *Callcenter
func (*Callcenter) AddAgent ¶
func (c *Callcenter) AddAgent(r *colly.Response)
func (*Callcenter) Agent ¶
func (c *Callcenter) Agent() string
func (*Callcenter) Extension ¶
func (c *Callcenter) Extension() string
func (*Callcenter) GetAgentID ¶
func (c *Callcenter) GetAgentID(source string) string
gets agentid from html option tag
func (*Callcenter) IsAlreadyInCallcenter ¶ added in v0.1.6
func (c *Callcenter) IsAlreadyInCallcenter(source string) bool
func (*Callcenter) NextTierKey ¶
func (c *Callcenter) NextTierKey(fields map[string]string) string
func (*Callcenter) RemoveAgent ¶
func (c *Callcenter) RemoveAgent(r *colly.Response)
func (*Callcenter) SetAgent ¶
func (c *Callcenter) SetAgent(agent string)
func (*Callcenter) SetExtension ¶
func (c *Callcenter) SetExtension(extension string)
func (*Callcenter) TierUUID ¶
func (c *Callcenter) TierUUID(source string) string
func (*Callcenter) VisitCallcenter ¶
func (c *Callcenter) VisitCallcenter(e *colly.HTMLElement)
type Credential ¶
func NewCredential ¶
func NewCredential() *Credential
func (*Credential) FillFromJSONFile ¶
func (c *Credential) FillFromJSONFile(raw []byte) error
Click to show internal directories.
Click to hide internal directories.