Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : partner_ad
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : gallery
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : hyper_link.go
- author : jarryliu
- date : 2016-05-25 10:50
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : image_ad
- author : jarryliu
- date : 2016-05-25 11:29
- description :
- history :
Index ¶
- func NewAdManager(rep ad.IAdRepo) ad.IAdvertisementManager
- func NewAdPosition(repo ad.IAdRepo, v *ad.Position) ad.IAdPosition
- type GalleryAd
- func (a GalleryAd) AddClickTimes(times int) error
- func (a GalleryAd) AddShowDays(days int) error
- func (a GalleryAd) AddShowTimes(times int) error
- func (g *GalleryAd) DeleteItem(id int64) error
- func (g *GalleryAd) Dto() *ad.AdDto
- func (g *GalleryAd) GetAdValue() ad.SwiperAd
- func (a GalleryAd) GetDomainId() int64
- func (g *GalleryAd) GetEnabledAdValue() ad.SwiperAd
- func (g *GalleryAd) GetImage(id int64) *ad.Image
- func (a GalleryAd) GetValue() *ad.Ad
- func (a GalleryAd) Name() string
- func (a GalleryAd) Save() (int64, error)
- func (g *GalleryAd) SaveImage(v *ad.Image) (int64, error)
- func (a GalleryAd) SetValue(v *ad.Ad) error
- func (a GalleryAd) System() bool
- func (a GalleryAd) Type() int
- type HyperLinkAdImpl
- func (a HyperLinkAdImpl) AddClickTimes(times int) error
- func (a HyperLinkAdImpl) AddShowDays(days int) error
- func (a HyperLinkAdImpl) AddShowTimes(times int) error
- func (h *HyperLinkAdImpl) Dto() *ad.AdDto
- func (a HyperLinkAdImpl) GetDomainId() int64
- func (a HyperLinkAdImpl) GetValue() *ad.Ad
- func (a HyperLinkAdImpl) Name() string
- func (h *HyperLinkAdImpl) Save() (int64, error)
- func (h *HyperLinkAdImpl) SetData(d *ad.HyperLink) error
- func (a HyperLinkAdImpl) SetValue(v *ad.Ad) error
- func (a HyperLinkAdImpl) System() bool
- func (a HyperLinkAdImpl) Type() int
- type ImageAdImpl
- func (a ImageAdImpl) AddClickTimes(times int) error
- func (a ImageAdImpl) AddShowDays(days int) error
- func (a ImageAdImpl) AddShowTimes(times int) error
- func (i *ImageAdImpl) Dto() *ad.AdDto
- func (a ImageAdImpl) GetDomainId() int64
- func (a ImageAdImpl) GetValue() *ad.Ad
- func (a ImageAdImpl) Name() string
- func (i *ImageAdImpl) Save() (int64, error)
- func (i *ImageAdImpl) SetData(d *ad.Image) error
- func (a ImageAdImpl) SetValue(v *ad.Ad) error
- func (a ImageAdImpl) System() bool
- func (a ImageAdImpl) Type() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdManager ¶
func NewAdManager(rep ad.IAdRepo) ad.IAdvertisementManager
func NewAdPosition ¶
Types ¶
type HyperLinkAdImpl ¶
type HyperLinkAdImpl struct {
// contains filtered or unexported fields
}
func (HyperLinkAdImpl) AddClickTimes ¶
增加展现次数
type ImageAdImpl ¶
type ImageAdImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.