Documentation
¶
Index ¶
- func CreatePublisher(ctx context.Context, projectID types.SFID, r *CreatePublisherReq) (*models.Publisher, error)
- func GetPublisherByPublisherKey(ctx context.Context, publisherKey string) (*models.Publisher, error)
- func RemovePublisher(ctx context.Context, r *RemovePublisherReq) error
- func UpdatePublisher(ctx context.Context, publisherID types.SFID, r *CreatePublisherReq) (err error)
- type CreatePublisherReq
- type ListPublisherReq
- type ListPublisherRsp
- type RemovePublisherReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePublisher ¶
func RemovePublisher ¶
func RemovePublisher(ctx context.Context, r *RemovePublisherReq) error
func UpdatePublisher ¶
Types ¶
type CreatePublisherReq ¶
type ListPublisherReq ¶
type ListPublisherReq struct {
// contains filtered or unexported fields
}
func (*ListPublisherReq) Additions ¶
func (r *ListPublisherReq) Additions() builder.Additions
func (*ListPublisherReq) Condition ¶
func (r *ListPublisherReq) Condition() builder.SqlCondition
func (*ListPublisherReq) SetCurrentProject ¶
func (r *ListPublisherReq) SetCurrentProject(prjID types.SFID)
type ListPublisherRsp ¶
func ListPublisher ¶
func ListPublisher(ctx context.Context, r *ListPublisherReq) (ret *ListPublisherRsp, err error)
type RemovePublisherReq ¶
Click to show internal directories.
Click to hide internal directories.