zoom

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseURLV2 = "https://api.zoom.us/v2"
)

Variables

View Source
var (
	// ProviderProductionSet provides a ZoomActions for use in production.
	ProviderProductionSet = wire.NewSet(Provide)
)

Functions

This section is empty.

Types

type ZoomActions

type ZoomActions struct {
	Client *http.Client
}

ZoomActions contains the functions necessary to interact with the Zoom API.

func NewZoom

func NewZoom() *ZoomActions

NewZoom returns a new ZoomActions configured with an http.Client configured with a timeout of one minute for requests.

func Provide

func Provide() *ZoomActions

Provide returns a ZoomActions.

func (*ZoomActions) CreateMeeting

func (z *ZoomActions) CreateMeeting(oauth domain.OAuthInfo, meeting *domain.Meeting) (*domain.Meeting, error)

CreateMeeting creates a meeting

func (*ZoomActions) DeleteMeeting

func (z *ZoomActions) DeleteMeeting(oauth domain.OAuthInfo, meetingID string) error

DeleteMeeting deletes a meeting.

func (*ZoomActions) GetMeeting

func (z *ZoomActions) GetMeeting(oauth domain.OAuthInfo, meetingID string) (*domain.Meeting, error)

GetMeeting retrieves a single meeting by ID

func (*ZoomActions) GetMeetings

func (z *ZoomActions) GetMeetings(oauth domain.OAuthInfo, pageReq domain.PageRequest) (*domain.Page, error)

GetMeetings retrieves all meetings

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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