Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRingCentralSdk ¶
Types ¶
type AddressBook ¶
type AddressBook struct { Contacts []Contact `json:"contacts,omitempty"` ContactsMap map[string]int `json:"-,omitempty"` }
func GetAddressBook ¶
func GetAddressBook(filepath string) (AddressBook, error)
func (*AddressBook) GetContactByFirstName ¶
func (ab *AddressBook) GetContactByFirstName(firstName string) (Contact, error)
func (*AddressBook) Inflate ¶
func (ab *AddressBook) Inflate()
type Configuration ¶
type Configuration struct { Port int LogLevel log.Level RcAppKey string RcAppSecret string RcServerURL string RcUsername string RcExtension string RcPassword string RcPhoneNumberRingOut string RcPhoneNumberSMS string Platform platform.Platform AddressBook AddressBook Cache *cache.Cache }
func NewConfiguration ¶
func NewConfiguration(ctx context.Context) (Configuration, error)
func (*Configuration) Address ¶
func (c *Configuration) Address() string
Address returns the port address as a string with a `:` prefix
func (*Configuration) LoadEnv ¶
func (c *Configuration) LoadEnv()
Click to show internal directories.
Click to hide internal directories.