function

package
v0.0.0-...-34863c1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Handler is the cloud function entrypoint

Types

type Number

type Number struct {
	Number                string `json:"number"`
	AdditionalInformation string `json:"additional_information,omitempty"`
}

Number represent a chargeable or free phone number with its additional information

type Service

type Service struct {
	Name              string   `json:"name"`
	ChargeableNumbers []Number `json:"chargeable_numbers"`
	FreeNumbers       []Number `json:"free_numbers"`
}

Service represent a company service with all the chargeable and free phone numbers

Jump to

Keyboard shortcuts

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