webex

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseURLV1 = "https://webexapis.com/v1"
)

Variables

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

Functions

This section is empty.

Types

type WebexActions

type WebexActions struct {
	Client *http.Client
}

WebexActions contains actions that can be performed on the Webex API.

func NewWebex

func NewWebex() *WebexActions

NewWebex returns a WebexActions configured with a default http.Client.

func Provide

func Provide() *WebexActions

Provide returns a new WebexActions.

func (*WebexActions) CreateMeeting

func (w *WebexActions) CreateMeeting(oauth domain.OAuthInfo, meeting *domain.Meeting) (*domain.Meeting, error)

CreateMeeting creates a meeting.

func (*WebexActions) DeleteMeeting

func (w *WebexActions) DeleteMeeting(oauth domain.OAuthInfo, meetingID string) error

DeleteMeeting deletes a meeting.

func (*WebexActions) GetMeeting

func (w *WebexActions) GetMeeting(oauth domain.OAuthInfo, meetingID string) (*domain.Meeting, error)

GetMeeting gets a meeting.

func (*WebexActions) GetMeetings

func (w *WebexActions) GetMeetings(oauth domain.OAuthInfo, pageReq domain.PageRequest) (*domain.Page, error)

GetMeetings gets all meetings for a user.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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