Documentation ¶
Index ¶
- Constants
- type AppCode
- type AppVersionCodeDataStore
- type AppVersionCodeMGODataStore
- func (avcDataStore *AppVersionCodeMGODataStore) CloseConnection()
- func (avcDataStore *AppVersionCodeMGODataStore) CurrentAppVersionCode(appId string) (*AppCode, error)
- func (avcDataStore *AppVersionCodeMGODataStore) DeleteApp(appId string) error
- func (avcDataStore *AppVersionCodeMGODataStore) OpenConnection(url string) error
- func (avcDataStore *AppVersionCodeMGODataStore) UpdateAppVersionCode(ac *AppCode) error
- type VersionCodeService
Constants ¶
View Source
const ( AppVersionCodeCollectionName = "versionCodes" AppIdKey = "appid" )
View Source
const ( AppIdPathParameter = "app-id" VersionCodePathParameter = "code" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCode ¶
func (*AppCode) NextVersionCode ¶
type AppVersionCodeDataStore ¶
type AppVersionCodeMGODataStore ¶
type AppVersionCodeMGODataStore struct {
// contains filtered or unexported fields
}
func (*AppVersionCodeMGODataStore) CloseConnection ¶
func (avcDataStore *AppVersionCodeMGODataStore) CloseConnection()
func (*AppVersionCodeMGODataStore) CurrentAppVersionCode ¶
func (avcDataStore *AppVersionCodeMGODataStore) CurrentAppVersionCode(appId string) (*AppCode, error)
func (*AppVersionCodeMGODataStore) DeleteApp ¶
func (avcDataStore *AppVersionCodeMGODataStore) DeleteApp(appId string) error
func (*AppVersionCodeMGODataStore) OpenConnection ¶
func (avcDataStore *AppVersionCodeMGODataStore) OpenConnection(url string) error
func (*AppVersionCodeMGODataStore) UpdateAppVersionCode ¶
func (avcDataStore *AppVersionCodeMGODataStore) UpdateAppVersionCode(ac *AppCode) error
type VersionCodeService ¶
type VersionCodeService struct {
VcStorage AppVersionCodeDataStore
}
func (VersionCodeService) Register ¶
func (vc VersionCodeService) Register()
Click to show internal directories.
Click to hide internal directories.