Documentation ¶
Index ¶
- type Publish
- func (this *Publish) AddPublishGroup(group string, paths map[string]string) *Publish
- func (this *Publish) EnsurePublishArrayInitialized(class string) *Publish
- func (this *Publish) GetStructName(s any) (name string)
- func (this *Publish) PathsForProviderAndGroup(provider string, group string) map[string]string
- func (this *Publish) PathsForProviderOrGroup(provider string, group string) map[string]string
- func (this *Publish) PathsToPublish(provider string, group string) map[string]string
- func (this *Publish) Publish(class any, paths map[string]string, group string) *Publish
- func (this *Publish) PublishableGroups() []string
- func (this *Publish) PublishableProviders() []string
- type PublishGroupsMap
- type PublishesMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publish ¶
type Publish struct { // 要推送的目录 Publishes PublishesMap // 分组 PublishGroups PublishGroupsMap }
*
- 推送 *
- @create 2022-1-1
- @author deatil
func (*Publish) AddPublishGroup ¶
AddPublishGroup
func (*Publish) EnsurePublishArrayInitialized ¶
初始化
func (*Publish) PathsForProviderAndGroup ¶
PathsForProviderAndGroup
func (*Publish) PathsForProviderOrGroup ¶
PathsForProviderOrGroup
func (*Publish) PathsToPublish ¶
PathsToPublish
func (*Publish) PublishableGroups ¶
PublishableGroups
func (*Publish) PublishableProviders ¶
PublishableProviders
Click to show internal directories.
Click to hide internal directories.