Versions in this module Expand all Collapse all v1 v1.0.7 May 13, 2024 v1.0.6 Apr 11, 2024 v1.0.5 Mar 5, 2024 Changes in this version + const ParamChecksum + const ParamDisabledFeatures + const ParamMeetingID + const ParamPublish + const ParamRecordID + const ParamState + const ResourceCreate + const ResourceDeleteRecordings + const ResourceEnd + const ResourceGetDefaultConfigXML + const ResourceGetMeetingInfo + const ResourceGetMeetings + const ResourceGetRecordingTextTracks + const ResourceGetRecordings + const ResourceIndex + const ResourceIsMeetingRunning + const ResourceJoin + const ResourcePublishRecordings + const ResourcePutRecordingTextTrack + const ResourceSetConfigXML + const ResourceUpdateRecordings + const RetFailed + const RetSuccess + const StateAny + const StatePublished + const StateUnpublished + var ErrCantBeMerged = errors.New("responses of this type can not be merged") + var ErrMergeConflict = errors.New("responses have conflicting values") + var ReQueryChecksum = regexp.MustCompile("&checksum(=[^&]*)?|^checksum(=[^&]*)?&?") + func MetaParam(name string) string + type API interface + Create func(*Request) (*CreateResponse, error) + DeleteRecordings func(*Request) (*DeleteRecordingsResponse, error) + End func(*Request) (*EndResponse, error) + GetDefaultConfigXML func(*Request) (*GetDefaultConfigXMLResponse, error) + GetMeetingInfo func(*Request) (*GetMeetingInfoResponse, error) + GetMeetings func(*Request) (*GetMeetingsResponse, error) + GetRecordingTextTracks func(*Request) (*GetRecordingTextTracksResponse, error) + GetRecordings func(*Request) (*GetRecordingsResponse, error) + IsMeetingRunning func(*Request) (*IsMeetingRunningResponse, error) + Join func(*Request) (*JoinResponse, error) + PublishRecordings func(*Request) (*PublishRecordingsResponse, error) + PutRecordingTextTrack func(*Request) (*PutRecordingTextTrackResponse, error) + SetConfigXML func(*Request) (*SetConfigXMLResponse, error) + UpdateRecordings func(*Request) (*UpdateRecordingsResponse, error) + type Attendee struct + ClientType string + FullName string + HasJoinedVoice bool + HasVideo bool + InternalUserID string + IsListeningOnly bool + IsPresenter bool + Role string + UserID string + XMLName xml.Name + type Backend struct + Host string + Secret string + type Breakout struct + FreeJoin bool + ParentMeetingID string + Sequence int + XMLName xml.Name + type BreakoutInfo struct + BreakoutID string + ExternalID string + FreeJoin bool + Name string + Sequence int + type BreakoutRoomStartedEvent struct + Breakout *BreakoutInfo + ParentInternalMeetingID string + type Client struct + func NewClient() *Client + func (c *Client) Do(ctx context.Context, req *Request) (Response, error) + type CreateResponse struct + func UnmarshalCreateResponse(data []byte) (*CreateResponse, error) + func (res *CreateResponse) Header() http.Header + func (res *CreateResponse) Marshal() ([]byte, error) + func (res *CreateResponse) Merge(other Response) error + func (res *CreateResponse) SetHeader(h http.Header) + func (res *CreateResponse) SetStatus(s int) + func (res *CreateResponse) Status() int + type DeleteRecordingsResponse struct + Deleted bool + func UnmarshalDeleteRecordingsResponse(data []byte) (*DeleteRecordingsResponse, error) + func (res *DeleteRecordingsResponse) Header() http.Header + func (res *DeleteRecordingsResponse) Marshal() ([]byte, error) + func (res *DeleteRecordingsResponse) Merge(other Response) error + func (res *DeleteRecordingsResponse) SetHeader(h http.Header) + func (res *DeleteRecordingsResponse) SetStatus(s int) + func (res *DeleteRecordingsResponse) Status() int + type EndResponse struct + func UnmarshalEndResponse(data []byte) (*EndResponse, error) + func (res *EndResponse) Header() http.Header + func (res *EndResponse) Marshal() ([]byte, error) + func (res *EndResponse) Merge(other Response) error + func (res *EndResponse) SetHeader(h http.Header) + func (res *EndResponse) SetStatus(s int) + func (res *EndResponse) Status() int + type Event interface + type Format struct + Length int + Preview *Preview + ProcessingTime int + Type string + URL string + XMLName xml.Name + type Frontend struct + Key string + Secret string + type GetDefaultConfigXMLResponse struct + Config []byte + func UnmarshalGetDefaultConfigXMLResponse(data []byte) (*GetDefaultConfigXMLResponse, error) + func (res *GetDefaultConfigXMLResponse) Header() http.Header + func (res *GetDefaultConfigXMLResponse) IsSuccess() bool + func (res *GetDefaultConfigXMLResponse) Marshal() ([]byte, error) + func (res *GetDefaultConfigXMLResponse) Merge(other Response) error + func (res *GetDefaultConfigXMLResponse) SetHeader(h http.Header) + func (res *GetDefaultConfigXMLResponse) SetStatus(s int) + func (res *GetDefaultConfigXMLResponse) Status() int + type GetMeetingInfoResponse struct + func UnmarshalGetMeetingInfoResponse(data []byte) (*GetMeetingInfoResponse, error) + func (res *GetMeetingInfoResponse) Header() http.Header + func (res *GetMeetingInfoResponse) Marshal() ([]byte, error) + func (res *GetMeetingInfoResponse) Merge(other Response) error + func (res *GetMeetingInfoResponse) SetHeader(h http.Header) + func (res *GetMeetingInfoResponse) SetStatus(s int) + func (res *GetMeetingInfoResponse) Status() int + type GetMeetingsResponse struct + Meetings []*Meeting + func UnmarshalGetMeetingsResponse(data []byte) (*GetMeetingsResponse, error) + func (res *GetMeetingsResponse) Header() http.Header + func (res *GetMeetingsResponse) Marshal() ([]byte, error) + func (res *GetMeetingsResponse) Merge(other Response) error + func (res *GetMeetingsResponse) SetHeader(h http.Header) + func (res *GetMeetingsResponse) SetStatus(s int) + func (res *GetMeetingsResponse) Status() int + type GetRecordingTextTracksResponse struct + Message string + MessageKey string + Returncode string + Tracks []*TextTrack + func UnmarshalGetRecordingTextTracksResponse(data []byte) (*GetRecordingTextTracksResponse, error) + func (res *GetRecordingTextTracksResponse) Header() http.Header + func (res *GetRecordingTextTracksResponse) IsSuccess() bool + func (res *GetRecordingTextTracksResponse) Marshal() ([]byte, error) + func (res *GetRecordingTextTracksResponse) Merge(other Response) error + func (res *GetRecordingTextTracksResponse) SetHeader(h http.Header) + func (res *GetRecordingTextTracksResponse) SetStatus(s int) + func (res *GetRecordingTextTracksResponse) Status() int + type GetRecordingsResponse struct + Recordings []*Recording + func UnmarshalGetRecordingsResponse(data []byte) (*GetRecordingsResponse, error) + func (res *GetRecordingsResponse) Header() http.Header + func (res *GetRecordingsResponse) Marshal() ([]byte, error) + func (res *GetRecordingsResponse) Merge(other Response) error + func (res *GetRecordingsResponse) SetHeader(h http.Header) + func (res *GetRecordingsResponse) SetStatus(s int) + func (res *GetRecordingsResponse) Status() int + type Image struct + Alt string + Height int + URL string + Width int + XMLName xml.Name + type Images struct + All []*Image + XMLName xml.Name + type IsMeetingRunningResponse struct + Running bool + func UnmarshalIsMeetingRunningResponse(data []byte) (*IsMeetingRunningResponse, error) + func (res *IsMeetingRunningResponse) Header() http.Header + func (res *IsMeetingRunningResponse) Marshal() ([]byte, error) + func (res *IsMeetingRunningResponse) Merge(other Response) error + func (res *IsMeetingRunningResponse) SetHeader(h http.Header) + func (res *IsMeetingRunningResponse) SetStatus(s int) + func (res *IsMeetingRunningResponse) Status() int + type JSONResponse struct + Response interface{} + type JoinResponse struct + AuthToken string + MeetingID string + SessionToken string + URL string + UserID string + func UnmarshalJoinResponse(data []byte) (*JoinResponse, error) + func (res *JoinResponse) Header() http.Header + func (res *JoinResponse) IsRaw() bool + func (res *JoinResponse) Marshal() ([]byte, error) + func (res *JoinResponse) Merge(other Response) error + func (res *JoinResponse) SetHeader(h http.Header) + func (res *JoinResponse) SetRaw(data []byte) + func (res *JoinResponse) SetStatus(s int) + func (res *JoinResponse) Status() int + type Meeting struct + AttendeePW string + Attendees []*Attendee + Breakout *Breakout + BreakoutRooms []string + CreateDate string + CreateTime Timestamp + DialNumber string + Duration int + EndTime Timestamp + HasBeenForciblyEnded bool + InternalMeetingID string + IsBreakout bool + ListenerCount int + MaxUsers int + MeetingID string + MeetingName string + Metadata Metadata + ModeratorCount int + ModeratorPW string + ParticipantCount int + Recording bool + Running bool + StartTime Timestamp + VideoCount int + VoiceBridge string + VoiceParticipantCount int + XMLName xml.Name + func (m *Meeting) String() string + func (m *Meeting) Update(update *Meeting) error + type MeetingCreatedEvent struct + InternalMeetingID string + MeetingID string + type MeetingDestroyedEvent struct + InternalMeetingID string + type MeetingEndedEvent struct + InternalMeetingID string + type Metadata map[string]string + func (meta *Metadata) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (meta Metadata) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (meta Metadata) Update(m Metadata) + type Params map[string]string + func (p Params) Checksum() (string, bool) + func (p Params) MarshalJSON() ([]byte, error) + func (p Params) MeetingID() (string, bool) + func (p Params) MeetingIDs() ([]string, bool) + func (p Params) Publish() (bool, bool) + func (p Params) RecordID() (string, bool) + func (p Params) RecordIDs() ([]string, bool) + func (p Params) States() ([]string, bool) + func (p Params) String() string + func (p Params) ToMetadata() Metadata + type Preview struct + Images *Images + XMLName xml.Name + type PublishRecordingsResponse struct + Published bool + func UnmarshalPublishRecordingsResponse(data []byte) (*PublishRecordingsResponse, error) + func (res *PublishRecordingsResponse) Header() http.Header + func (res *PublishRecordingsResponse) Marshal() ([]byte, error) + func (res *PublishRecordingsResponse) Merge(other Response) error + func (res *PublishRecordingsResponse) SetHeader(h http.Header) + func (res *PublishRecordingsResponse) SetStatus(s int) + func (res *PublishRecordingsResponse) Status() int + type PutRecordingTextTrackResponse struct + Message string + MessageKey string + RecordID string + Returncode string + func UnmarshalPutRecordingTextTrackResponse(data []byte) (*PutRecordingTextTrackResponse, error) + func (res *PutRecordingTextTrackResponse) Header() http.Header + func (res *PutRecordingTextTrackResponse) IsSuccess() bool + func (res *PutRecordingTextTrackResponse) Marshal() ([]byte, error) + func (res *PutRecordingTextTrackResponse) Merge(other Response) error + func (res *PutRecordingTextTrackResponse) SetHeader(h http.Header) + func (res *PutRecordingTextTrackResponse) SetStatus(s int) + func (res *PutRecordingTextTrackResponse) Status() int + type Recording struct + EndTime Timestamp + Formats []*Format + InternalMeetingID string + IsBreakout bool + MeetingID string + Metadata Metadata + Name string + Participants int + Published bool + RecordID string + StartTime Timestamp + State string + XMLName xml.Name + func (r *Recording) SetPlaybackHost(host string) + type RecordingMetadata struct + EndTime Timestamp + Meeting *RecordingMetadataMeeting + Meta Metadata + Participants int + Playback *RecordingMetadataPlayback + Published bool + RawSize int + RecordID string + StartTime Timestamp + State string + XMLName xml.Name + func UnmarshalRecordingMetadata(data []byte) (*RecordingMetadata, error) + func (m *RecordingMetadata) ToRecording() *Recording + type RecordingMetadataMeeting struct + Breakout bool + InternalMeetingID string + MeetingID string + Name string + type RecordingMetadataPlayback struct + Duration int + Format string + Link string + ProcessingTime int + Size int + XMLName xml.Name + type Request struct + Backend *Backend + Body []byte + Checksum string + Frontend *Frontend + Params Params + Resource string + func CreateRequest(params Params, body []byte) *Request + func DeleteRecordingRequest(recordID string, params Params) *Request + func DeleteRecordingsRequest(params Params) *Request + func EndRequest(params Params) *Request + func GetMeetingInfoRequest(params Params) *Request + func GetMeetingsRequest(params Params) *Request + func GetRecordingTextTracksRequest(params Params) *Request + func GetRecordingsRequest(params Params) *Request + func IsMeetingRunningRequest(params Params) *Request + func JoinRequest(params Params) *Request + func PublishRecordingRequest(recordID string, params Params) *Request + func PublishRecordingsRequest(params Params) *Request + func UnmarshalURLSafeRequest(data []byte) (req *Request, err error) + func UpdateRecordingRequest(recordID string, params Params) *Request + func UpdateRecordingsRequest(params Params) *Request + func (req *Request) HasBody() bool + func (req *Request) MarshalURLSafe() []byte + func (req *Request) Sign() string + func (req *Request) String() string + func (req *Request) URL() string + func (req *Request) Verify() error + func (req *Request) WithBackend(b *Backend) *Request + func (req *Request) WithFrontend(f *Frontend) *Request + type Response interface + Header func() http.Header + IsSuccess func() bool + Marshal func() ([]byte, error) + Merge func(response Response) error + SetHeader func(http.Header) + SetStatus func(int) + Status func() int + type SetConfigXMLResponse struct + Token string + func UnmarshalSetConfigXMLResponse(data []byte) (*SetConfigXMLResponse, error) + func (res *SetConfigXMLResponse) Header() http.Header + func (res *SetConfigXMLResponse) Marshal() ([]byte, error) + func (res *SetConfigXMLResponse) Merge(other Response) error + func (res *SetConfigXMLResponse) SetHeader(h http.Header) + func (res *SetConfigXMLResponse) SetStatus(s int) + func (res *SetConfigXMLResponse) Status() int + type TextTrack struct + Href string + Kind string + Label string + Source string + type Timestamp uint64 + type UpdateRecordingsResponse struct + Updated bool + func UnmarshalUpdateRecordingsResponse(data []byte) (*UpdateRecordingsResponse, error) + func (res *UpdateRecordingsResponse) Header() http.Header + func (res *UpdateRecordingsResponse) Marshal() ([]byte, error) + func (res *UpdateRecordingsResponse) Merge(other Response) error + func (res *UpdateRecordingsResponse) SetHeader(h http.Header) + func (res *UpdateRecordingsResponse) SetStatus(s int) + func (res *UpdateRecordingsResponse) Status() int + type UserJoinedMeetingEvent struct + Attendee *Attendee + InternalMeetingID string + type UserLeftMeetingEvent struct + InternalID string + InternalMeetingID string + InternalUserID string + type XMLResponse struct + Message string + MessageKey string + Returncode string + Version string + XMLName xml.Name + func (res *XMLResponse) Header() http.Header + func (res *XMLResponse) IsSuccess() bool + func (res *XMLResponse) Marshal() ([]byte, error) + func (res *XMLResponse) Merge(other Response) error + func (res *XMLResponse) MergeXMLResponse(other *XMLResponse) error + func (res *XMLResponse) SetHeader(h http.Header) + func (res *XMLResponse) SetStatus(s int) + func (res *XMLResponse) Status() int