Versions in this module Expand all Collapse all v1 v1.0.1 Nov 7, 2022 Changes in this version + type Background struct + Color string + Image string + Type string + type BaseBrick struct + Float string + Height int + Name string + Width int + X int + Y int + func (b BaseBrick) Type() BrickType + type BaseEvent struct + Name string + func (e BaseEvent) Type() EventType + type Brick interface + Type func() BrickType + type BrickType string + const XrButton + const XrForm + const XrPicture + const XrPictureGroup + const XrRichText + const XrSimpleText + const XrVideo + type ButtonBgType string + const ButtonBgType_COLOR + const ButtonBgType_IMAGE + type ButtonBrick struct + BgColor string + BgImage string + BgType ButtonBgType + BorderColor string + BorderRadius float64 + BorderWidth float64 + Color string + Events []ButtonEvent + FontSize int + Icon IconType + PackageInfo *PackageInfo + Text string + func (b ButtonBrick) Type() BrickType + type ButtonEvent struct + Behavior Event + Trigger *EventTrigger + func (e *ButtonEvent) UnmarshalJSON(b []byte) error + type CopyRequest struct + AdvertiserID uint64 + SiteIDs []string + func (r CopyRequest) Encode() []byte + type CopyResponse struct + Data *CopyResponseData + type CopyResponseData struct + ErrorList []CopyResult + SuccessList []CopyResult + type CopyResult struct + OriginSiteID model.FlexUint64 + SiteID model.FlexUint64 + type CreateRequest struct + AdvertiserID uint64 + Bricks []Brick + Name string + func (r CreateRequest) Encode() []byte + type CreateResponse struct + Data struct{ ... } + type Description struct + Color string + FontSize int + Labels []string + Type string + type DownloadEvent struct + AndroidLink *Link + IOSLink *Link + func (e DownloadEvent) Type() EventType + type Event interface + Type func() EventType + type EventTrigger struct + TouchSeconds int64 + Type TriggerType + type EventType string + const EventType_DownloadEvent + const EventType_LinkEvent + const EventType_TelephoneEvent + type FailMessage struct + Message string + SiteID model.FlexUint64 + type FontStyle string + const FontStyle_BOLD + const FontStyle_ITALIC + const FontStyle_UNDERLINE + type Form struct + FormID uint64 + FormIndex int + FormName string + type FormBrick struct + FormData *FormData + func (b FormBrick) Type() BrickType + type FormData struct + Elements []FormElement + FailureLink *Link + InstanceID uint64 + Linkable int + Name string + SubmitText string + SuccessLink *Link + SuccessTip string + type FormElement struct + AllowEmpty int + IsUnique int + Label string + Type FormType + type FormType string + const FormType_CITY + const FormType_DATE + const FormType_EMAIL + const FormType_NAME + const FormType_NUMBER + const FormType_SEX + const FormType_TELEPHONE + const FormType_TEXT + const FormType_TEXTAREA + type FormsListRequest struct + AdvertiserID uint64 + SiteID uint64 + func (r FormsListRequest) Encode() string + type FormsListResponse struct + Data struct{ ... } + type GetFiltering struct + Search string + type GetRequest struct + AdvertiserID uint64 + Filtering *GetFiltering + Page int + PageSize int + Status enum.SiteSearchStatus + func (r GetRequest) Encode() string + type GetResponse struct + Data *GetResponseData + type GetResponseData struct + List []Site + PageInfo *model.PageInfo + type HandselRequest struct + AdvertiserID uint64 + SiteIDs []string + TargetAdvertiserIDs []string + func (r HandselRequest) Encode() []byte + type HandselResponse struct + Data *HandselResponseData + type HandselResponseData struct + ErrorList []HandselResult + SuccessList []HandselResult + type HandselResult struct + OriginSiteID model.FlexUint64 + SiteID model.FlexUint64 + TargetAdvertiserID model.FlexUint64 + type IconType string + const IconType_CONSULT + const IconType_DOWNLOAD + const IconType_NONE + const IconType_TELEPHONE + type ImageBrick struct + BorderRadius float64 + IcID string + ImageURL string + IsCover bool + Link *Link + Tag string + func (b ImageBrick) Type() BrickType + type ImagesBrick struct + AutoPlay int + GroupContent []ImageBrick + GroupType ImagesBrickGroupType + func (b ImagesBrick) Type() BrickType + type ImagesBrickGroupType string + const ImagesBrickGroupType_CAROUSEL + const ImagesBrickGroupType_COVERFLOW + const ImagesBrickGroupType_NORMAL + type Link struct + Description string + LinkType LinkType + QuickApp string + Scheme string + URL string + type LinkEvent struct + Link *Link + func (e LinkEvent) Type() EventType + type LinkType string + const LinkType_QUICK_APP + const LinkType_SCHEME + const LinkType_URL + type PackageInfo struct + Background *Background + Description *Description + Image string + Title *Title + Type string + type PreviewRequest struct + AdvertiserID uint64 + SiteID uint64 + func (r PreviewRequest) Encode() string + type PreviewResponse struct + Data struct{ ... } + type ReadRequest struct + AdvertiserID uint64 + SiteID uint64 + func (r ReadRequest) Encode() string + type ReadResponse struct + Data *SiteDetail + type RichTextBrick struct + Content string + FontFamily int + FontSize int + FontStyle FontStyle + LetterSpacing int + LineHeight float64 + Link *Link + TextAlign TextAlign + func (b RichTextBrick) Type() BrickType + type Site struct + FunctionType enum.SiteFunctionType + Name string + SiteID model.FlexUint64 + SiteType enum.SiteType + Status enum.SiteStatus + Thumbnail string + type SiteDetail struct + Bricks []Brick + ID model.FlexUint64 + SiteType enum.SiteType + Status enum.SiteStatus + Thumbnail string + func (s *SiteDetail) UnmarshalJSON(b []byte) (err error) + type SmartPhone struct + CallDisplay int + InstanceID uint64 + Name string + PhoneNumber string + type TelephoneEvent struct + SmartPhone *SmartPhone + func (e TelephoneEvent) Type() EventType + type TextAlign string + const TextAlign_CENTER + const TextAlign_LEFT + const TextAlign_RIGHT + type TextBrick struct + Content string + Link *Link + func (b TextBrick) Type() BrickType + type Title struct + Color string + FontSize int + type TriggerType string + const TriggerType_CLICK + const TriggerType_LONG_TOUCH + type UpdateRequest struct + AdvertiserID uint64 + Bricks []Brick + Name string + SiteID string + func (r UpdateRequest) Encode() []byte + type UpdateStatusRequest struct + AdvertiserID uint64 + SiteID []string + Status enum.SiteOptStatus + func (r UpdateStatusRequest) Encode() []byte + type UpdateStatusResponse struct + Data *UpdateStatusResponseData + type UpdateStatusResponseData struct + Fail []FailMessage + Success []string + type VideoBrick struct + LocalSource *VideoSource + OnlineSource *VideoSource + func (b VideoBrick) Type() BrickType + type VideoSource struct + OriginURL string + Poster string + PosterURL string + Vid string