telephonyobs

package
v1.50.3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by cloud-observability; DO NOT EDIT.

Index

Constants

View Source
const Version_94HQ8HG = true

Variables

This section is empty.

Functions

This section is empty.

Types

type CallReporter

type CallReporter interface {
	RegisterFunc(func(ts time.Time, tx CallTx) bool)
	Tx(func(tx CallTx))
	TxAt(time.Time, func(tx CallTx))
	// contains filtered or unexported methods
}

func NewNoopCallReporter

func NewNoopCallReporter() CallReporter

type CallStatus

type CallStatus string
const (
	CallStatusUndefined CallStatus = ""
	CallStatusAnswered  CallStatus = "answered"
	CallStatusMissed    CallStatus = "missed"
	CallStatusBusy      CallStatus = "busy"
	CallStatusFailed    CallStatus = "failed"
)

type CallTx

type CallTx interface {
	Phone() PhoneTx
	// contains filtered or unexported methods
}

type CarrierReporter

type CarrierReporter interface {
	RegisterFunc(func(ts time.Time, tx CarrierTx) bool)
	Tx(func(tx CarrierTx))
	TxAt(time.Time, func(tx CarrierTx))
	WithCountry(code string) CountryReporter
	WithDeferredCountry() (CountryReporter, KeyResolver)
	// contains filtered or unexported methods
}

func NewNoopCarrierReporter

func NewNoopCarrierReporter() CarrierReporter

type CarrierTx

type CarrierTx interface {
	Project() ProjectTx
	// contains filtered or unexported methods
}

type CountryReporter

type CountryReporter interface {
	RegisterFunc(func(ts time.Time, tx CountryTx) bool)
	Tx(func(tx CountryTx))
	TxAt(time.Time, func(tx CountryTx))
	WithPhone(number string) PhoneReporter
	WithDeferredPhone() (PhoneReporter, KeyResolver)
	// contains filtered or unexported methods
}

func NewNoopCountryReporter

func NewNoopCountryReporter() CountryReporter

type CountryTx

type CountryTx interface {
	Carrier() CarrierTx
	// contains filtered or unexported methods
}

type DirectionType

type DirectionType string
const (
	DirectionTypeUndefined DirectionType = ""
	DirectionTypeInbound   DirectionType = "inbound"
	DirectionTypeOutbound  DirectionType = "outbound"
)

type KeyResolver

type KeyResolver interface {
	Resolve(string)
	Reset()
}

type NumberType

type NumberType string
const (
	NumberTypeUndefined NumberType = ""
	NumberTypeTollFree  NumberType = "toll_free"
	NumberTypeRegular   NumberType = "regular"
)

type PhoneReporter added in v1.43.0

type PhoneReporter interface {
	RegisterFunc(func(ts time.Time, tx PhoneTx) bool)
	Tx(func(tx PhoneTx))
	TxAt(time.Time, func(tx PhoneTx))
	WithCall(id string) CallReporter
	WithDeferredCall() (CallReporter, KeyResolver)
	// contains filtered or unexported methods
}

func NewNoopPhoneReporter added in v1.43.0

func NewNoopPhoneReporter() PhoneReporter

type PhoneTx added in v1.43.0

type PhoneTx interface {
	Country() CountryTx
	// contains filtered or unexported methods
}

type ProjectReporter

type ProjectReporter interface {
	RegisterFunc(func(ts time.Time, tx ProjectTx) bool)
	Tx(func(tx ProjectTx))
	TxAt(time.Time, func(tx ProjectTx))
	WithCarrier(id string) CarrierReporter
	WithDeferredCarrier() (CarrierReporter, KeyResolver)
	// contains filtered or unexported methods
}

func NewNoopProjectReporter

func NewNoopProjectReporter() ProjectReporter

type ProjectTx

type ProjectTx interface {
	// contains filtered or unexported methods
}

type Reporter

type Reporter interface {
	WithProject(id string) ProjectReporter
	WithDeferredProject() (ProjectReporter, KeyResolver)
}

func NewNoopReporter

func NewNoopReporter() Reporter

type Rollup

type Rollup string
const (
	RollupUndefined Rollup = ""
	RollupPhone     Rollup = "phone"
	RollupCall      Rollup = "call"
)

type TrunkType

type TrunkType string
const (
	TrunkTypeUndefined TrunkType = ""
	TrunkTypeInternal  TrunkType = "internal"
	TrunkTypeExternal  TrunkType = "external"
)

Jump to

Keyboard shortcuts

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