Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + var EndpointMap map[string]string + var EndpointType = "regional" + func GetEndpointMap() map[string]string + func GetEndpointType() string + func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) + func SetEndpointDataToClient(client *Client) + type BizMessages struct + BizMessagesItem []BizMessagesItem + type BizMessagesItem struct + ContentMapJson string + DataId int64 + PubTime string + Topic string + type Cinemas struct + CinemasItem []CinemasItem + type CinemasItem struct + Address string + CinemaName string + CityId int64 + Id int64 + Latitude string + Longitude string + Phone string + RegionName string + ScheduleCloseTime int64 + StandardId string + type Client struct + func NewClient() (client *Client, err error) + func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) + func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) + func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) + func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) + func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) + func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error) + func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) + func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) + func (client *Client) GetMessages(request *GetMessagesRequest) (response *GetMessagesResponse, err error) + func (client *Client) GetMessagesWithCallback(request *GetMessagesRequest, ...) <-chan int + func (client *Client) GetMessagesWithChan(request *GetMessagesRequest) (<-chan *GetMessagesResponse, <-chan error) + func (client *Client) RemoveMessages(request *RemoveMessagesRequest) (response *RemoveMessagesResponse, err error) + func (client *Client) RemoveMessagesWithCallback(request *RemoveMessagesRequest, ...) <-chan int + func (client *Client) RemoveMessagesWithChan(request *RemoveMessagesRequest) (<-chan *RemoveMessagesResponse, <-chan error) + func (client *Client) TaobaoFilmGetCinemas(request *TaobaoFilmGetCinemasRequest) (response *TaobaoFilmGetCinemasResponse, err error) + func (client *Client) TaobaoFilmGetCinemasWithCallback(request *TaobaoFilmGetCinemasRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetCinemasWithChan(request *TaobaoFilmGetCinemasRequest) (<-chan *TaobaoFilmGetCinemasResponse, <-chan error) + func (client *Client) TaobaoFilmGetHotShows(request *TaobaoFilmGetHotShowsRequest) (response *TaobaoFilmGetHotShowsResponse, err error) + func (client *Client) TaobaoFilmGetHotShowsWithCallback(request *TaobaoFilmGetHotShowsRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetHotShowsWithChan(request *TaobaoFilmGetHotShowsRequest) (<-chan *TaobaoFilmGetHotShowsResponse, <-chan error) + func (client *Client) TaobaoFilmGetRegionList(request *TaobaoFilmGetRegionListRequest) (response *TaobaoFilmGetRegionListResponse, err error) + func (client *Client) TaobaoFilmGetRegionListWithCallback(request *TaobaoFilmGetRegionListRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetRegionListWithChan(request *TaobaoFilmGetRegionListRequest) (<-chan *TaobaoFilmGetRegionListResponse, <-chan error) + func (client *Client) TaobaoFilmGetSchedules(request *TaobaoFilmGetSchedulesRequest) (response *TaobaoFilmGetSchedulesResponse, err error) + func (client *Client) TaobaoFilmGetSchedulesWithCallback(request *TaobaoFilmGetSchedulesRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetSchedulesWithChan(request *TaobaoFilmGetSchedulesRequest) (<-chan *TaobaoFilmGetSchedulesResponse, <-chan error) + func (client *Client) TaobaoFilmGetSeats(request *TaobaoFilmGetSeatsRequest) (response *TaobaoFilmGetSeatsResponse, err error) + func (client *Client) TaobaoFilmGetSeatsWithCallback(request *TaobaoFilmGetSeatsRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetSeatsWithChan(request *TaobaoFilmGetSeatsRequest) (<-chan *TaobaoFilmGetSeatsResponse, <-chan error) + func (client *Client) TaobaoFilmGetShowComments(request *TaobaoFilmGetShowCommentsRequest) (response *TaobaoFilmGetShowCommentsResponse, err error) + func (client *Client) TaobaoFilmGetShowCommentsWithCallback(request *TaobaoFilmGetShowCommentsRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetShowCommentsWithChan(request *TaobaoFilmGetShowCommentsRequest) (<-chan *TaobaoFilmGetShowCommentsResponse, <-chan error) + func (client *Client) TaobaoFilmGetSoonShows(request *TaobaoFilmGetSoonShowsRequest) (response *TaobaoFilmGetSoonShowsResponse, err error) + func (client *Client) TaobaoFilmGetSoonShowsWithCallback(request *TaobaoFilmGetSoonShowsRequest, ...) <-chan int + func (client *Client) TaobaoFilmGetSoonShowsWithChan(request *TaobaoFilmGetSoonShowsRequest) (<-chan *TaobaoFilmGetSoonShowsResponse, <-chan error) + func (client *Client) TaobaoFilmIssueOrder(request *TaobaoFilmIssueOrderRequest) (response *TaobaoFilmIssueOrderResponse, err error) + func (client *Client) TaobaoFilmIssueOrderWithCallback(request *TaobaoFilmIssueOrderRequest, ...) <-chan int + func (client *Client) TaobaoFilmIssueOrderWithChan(request *TaobaoFilmIssueOrderRequest) (<-chan *TaobaoFilmIssueOrderResponse, <-chan error) + func (client *Client) TaobaoFilmLockSeat(request *TaobaoFilmLockSeatRequest) (response *TaobaoFilmLockSeatResponse, err error) + func (client *Client) TaobaoFilmLockSeatWithCallback(request *TaobaoFilmLockSeatRequest, ...) <-chan int + func (client *Client) TaobaoFilmLockSeatWithChan(request *TaobaoFilmLockSeatRequest) (<-chan *TaobaoFilmLockSeatResponse, <-chan error) + func (client *Client) TaobaoFilmUnLockSeat(request *TaobaoFilmUnLockSeatRequest) (response *TaobaoFilmUnLockSeatResponse, err error) + func (client *Client) TaobaoFilmUnLockSeatWithCallback(request *TaobaoFilmUnLockSeatRequest, ...) <-chan int + func (client *Client) TaobaoFilmUnLockSeatWithChan(request *TaobaoFilmUnLockSeatRequest) (<-chan *TaobaoFilmUnLockSeatResponse, <-chan error) + type CommentList struct + CommentListItem []CommentListItem + type CommentListItem struct + CommentTime string + Content string + FavorCount int64 + Id int64 + NickName string + Remark int64 + ShowId int64 + Subject string + type GetMessagesRequest struct + ParamsJson string + Topic string + func CreateGetMessagesRequest() (request *GetMessagesRequest) + type GetMessagesResponse struct + BizMessages []BizMessagesItem + ErrorCode string + LogsId string + Msg string + RequestId string + SubCode string + SubMsg string + func CreateGetMessagesResponse() (response *GetMessagesResponse) + type Regions struct + RegionsItem []RegionsItem + type RegionsItem struct + CityCode int64 + Id int64 + ParentId int64 + PinYin string + RegionName string + type RemoveMessagesRequest struct + MsgIds string + ParamsJson string + func CreateRemoveMessagesRequest() (request *RemoveMessagesRequest) + type RemoveMessagesResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + ReturnCode string + ReturnMessage string + ReturnValue string + SubCode string + SubMsg string + func CreateRemoveMessagesResponse() (response *RemoveMessagesResponse) + type Schedules struct + SchedulesItem []SchedulesItem + type SchedulesItem struct + CinemaId int64 + CloseTime string + HallId string + HallName string + Id int64 + IsExpired bool + MaxCanBuy int64 + Price int64 + ScheduleArea string + SectionId string + ServiceFee int64 + ShowDate string + ShowId int64 + ShowTime string + ShowVersion string + type SeatLocked struct + ApplyKey string + DefaultLockSecond int64 + LockTime int64 + Status string + type SeatMap struct + MaxCanBuy int64 + MaxColumn int64 + MaxLeftPx int64 + MaxRow int64 + MaxTopPx int64 + MinColumn int64 + MinLeftPx int64 + MinRow int64 + MinTopPx int64 + Notice string + Regular bool + SeatCount int64 + Seats []SeatsItem + SoldCount int64 + TipMessage string + type Seats struct + SeatsItem []SeatsItem + type SeatsItem struct + Area string + Column int64 + ExtId string + Flag int64 + LeftPx int64 + Name string + Row int64 + RowName string + Status int64 + TopPx int64 + type ShowVersionListInTaobaoFilmGetHotShows struct + ShowVersionList []string + type ShowVersionListInTaobaoFilmGetSoonShows struct + ShowVersionList []string + type ShowsInTaobaoFilmGetHotShows struct + ShowsItem []ShowsItem + type ShowsInTaobaoFilmGetSoonShows struct + ShowsItem []ShowsItem + type ShowsItem struct + BackgroundPicture string + Country string + Description string + Director string + Duration int64 + Highlight string + Id int64 + Language string + LeadingRole string + OpenDay string + OpenTime string + Poster string + Remark string + ShowMark string + ShowName string + ShowNameEn string + ShowVersionList []string + TrailerList []string + Type string + type TaobaoFilmGetCinemasRequest struct + PageIndex requests.Integer + ParamsJson string + func CreateTaobaoFilmGetCinemasRequest() (request *TaobaoFilmGetCinemasRequest) + type TaobaoFilmGetCinemasResponse struct + Cinemas []CinemasItem + ErrorCode string + LogsId string + Msg string + RequestId string + SubCode string + SubMsg string + TotalCount int64 + func CreateTaobaoFilmGetCinemasResponse() (response *TaobaoFilmGetCinemasResponse) + type TaobaoFilmGetHotShowsRequest struct + CityCode requests.Integer + ParamsJson string + func CreateTaobaoFilmGetHotShowsRequest() (request *TaobaoFilmGetHotShowsRequest) + type TaobaoFilmGetHotShowsResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + Shows []ShowsItem + SubCode string + SubMsg string + func CreateTaobaoFilmGetHotShowsResponse() (response *TaobaoFilmGetHotShowsResponse) + type TaobaoFilmGetRegionListRequest struct + ParamsJson string + func CreateTaobaoFilmGetRegionListRequest() (request *TaobaoFilmGetRegionListRequest) + type TaobaoFilmGetRegionListResponse struct + ErrorCode string + LogsId string + Msg string + Regions []RegionsItem + RequestId string + SubCode string + SubMsg string + func CreateTaobaoFilmGetRegionListResponse() (response *TaobaoFilmGetRegionListResponse) + type TaobaoFilmGetSchedulesRequest struct + CinemaId requests.Integer + ParamsJson string + func CreateTaobaoFilmGetSchedulesRequest() (request *TaobaoFilmGetSchedulesRequest) + type TaobaoFilmGetSchedulesResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + Schedules []SchedulesItem + SubCode string + SubMsg string + func CreateTaobaoFilmGetSchedulesResponse() (response *TaobaoFilmGetSchedulesResponse) + type TaobaoFilmGetSeatsRequest struct + ParamsJson string + ScheduleId requests.Integer + func CreateTaobaoFilmGetSeatsRequest() (request *TaobaoFilmGetSeatsRequest) + type TaobaoFilmGetSeatsResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + SeatMap SeatMap + SubCode string + SubMsg string + func CreateTaobaoFilmGetSeatsResponse() (response *TaobaoFilmGetSeatsResponse) + type TaobaoFilmGetShowCommentsRequest struct + PageIndex requests.Integer + ParamsJson string + ShowId requests.Integer + func CreateTaobaoFilmGetShowCommentsRequest() (request *TaobaoFilmGetShowCommentsRequest) + type TaobaoFilmGetShowCommentsResponse struct + CommentList []CommentListItem + Count int64 + ErrorCode string + LogsId string + Msg string + RequestId string + SubCode string + SubMsg string + func CreateTaobaoFilmGetShowCommentsResponse() (response *TaobaoFilmGetShowCommentsResponse) + type TaobaoFilmGetSoonShowsRequest struct + CityCode requests.Integer + ParamsJson string + func CreateTaobaoFilmGetSoonShowsRequest() (request *TaobaoFilmGetSoonShowsRequest) + type TaobaoFilmGetSoonShowsResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + Shows []ShowsItem + SubCode string + SubMsg string + func CreateTaobaoFilmGetSoonShowsResponse() (response *TaobaoFilmGetSoonShowsResponse) + type TaobaoFilmIssueOrderRequest struct + ExtOrderId string + ExtUserId string + LockSeatApplyKey string + ParamsJson string + TotalPrice requests.Integer + func CreateTaobaoFilmIssueOrderRequest() (request *TaobaoFilmIssueOrderRequest) + type TaobaoFilmIssueOrderResponse struct + ErrorCode string + LogsId string + Message string + Msg string + RequestId string + Status string + SubCode string + SubMsg string + TbOrderId string + TicketContents string + func CreateTaobaoFilmIssueOrderResponse() (response *TaobaoFilmIssueOrderResponse) + type TaobaoFilmLockSeatRequest struct + ExtUserId string + Mobile string + ParamsJson string + ScheduleId requests.Integer + SeatIds string + SeatNames string + func CreateTaobaoFilmLockSeatRequest() (request *TaobaoFilmLockSeatRequest) + type TaobaoFilmLockSeatResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + SeatLocked SeatLocked + SubCode string + SubMsg string + func CreateTaobaoFilmLockSeatResponse() (response *TaobaoFilmLockSeatResponse) + type TaobaoFilmUnLockSeatRequest struct + ExtUserId string + LockSeatApplyKey string + ParamsJson string + func CreateTaobaoFilmUnLockSeatRequest() (request *TaobaoFilmUnLockSeatRequest) + type TaobaoFilmUnLockSeatResponse struct + ErrorCode string + LogsId string + Msg string + RequestId string + ReturnCode string + ReturnMessage string + ReturnValue bool + SubCode string + SubMsg string + func CreateTaobaoFilmUnLockSeatResponse() (response *TaobaoFilmUnLockSeatResponse) + type TrailerListInTaobaoFilmGetHotShows struct + TrailerList []string + type TrailerListInTaobaoFilmGetSoonShows struct + TrailerList []string