mirror of https://github.com/rocboss/paopao-ce
parent
a82c16ccb4
commit
0a79a062f4
@ -0,0 +1,20 @@
|
||||
//go:build constraint
|
||||
|
||||
package cache
|
||||
|
||||
import (
|
||||
"github.com/rocboss/paopao-ce/internal/core"
|
||||
)
|
||||
|
||||
var (
|
||||
_ tweetsCache = (*bigCacheTweetsCache)(nil)
|
||||
|
||||
_ core.RedisCache = (*redisCache)(nil)
|
||||
_ tweetsCache = (*redisCacheTweetsCache)(nil)
|
||||
|
||||
_ core.CacheIndexService = (*noneCacheIndexServant)(nil)
|
||||
_ core.VersionInfo = (*noneCacheIndexServant)(nil)
|
||||
|
||||
_ core.CacheIndexService = (*simpleCacheIndexServant)(nil)
|
||||
_ core.VersionInfo = (*simpleCacheIndexServant)(nil)
|
||||
)
|
||||
@ -0,0 +1,13 @@
|
||||
//go:build constraint
|
||||
|
||||
package jinzhu
|
||||
|
||||
import "github.com/rocboss/paopao-ce/internal/core"
|
||||
|
||||
var (
|
||||
_ core.DataService = (*dataSrv)(nil)
|
||||
_ core.VersionInfo = (*dataSrv)(nil)
|
||||
|
||||
_ core.WebDataServantA = (*webDataSrvA)(nil)
|
||||
_ core.VersionInfo = (*webDataSrvA)(nil)
|
||||
)
|
||||
@ -0,0 +1,15 @@
|
||||
//go:build constraint
|
||||
|
||||
package search
|
||||
|
||||
import "github.com/rocboss/paopao-ce/internal/core"
|
||||
|
||||
var (
|
||||
_ core.TweetSearchService = (*bridgeTweetSearchServant)(nil)
|
||||
|
||||
_ core.TweetSearchService = (*meiliTweetSearchServant)(nil)
|
||||
_ core.VersionInfo = (*meiliTweetSearchServant)(nil)
|
||||
|
||||
_ core.TweetSearchService = (*zincTweetSearchServant)(nil)
|
||||
_ core.VersionInfo = (*zincTweetSearchServant)(nil)
|
||||
)
|
||||
@ -0,0 +1,12 @@
|
||||
//go:build constraint
|
||||
|
||||
package security
|
||||
|
||||
import (
|
||||
"github.com/rocboss/paopao-ce/internal/core"
|
||||
)
|
||||
|
||||
var (
|
||||
_ core.AttachmentCheckService = (*attachmentCheckServant)(nil)
|
||||
_ core.PhoneVerifyService = (*juheSmsServant)(nil)
|
||||
)
|
||||
@ -0,0 +1,37 @@
|
||||
//go:build constraint
|
||||
|
||||
package storage
|
||||
|
||||
import (
|
||||
"github.com/rocboss/paopao-ce/internal/core"
|
||||
)
|
||||
|
||||
var (
|
||||
_ core.ObjectStorageService = (*aliossServant)(nil)
|
||||
_ core.OssCreateService = (*aliossCreateServant)(nil)
|
||||
_ core.OssCreateService = (*aliossCreateRetentionServant)(nil)
|
||||
_ core.OssCreateService = (*aliossCreateTempDirServant)(nil)
|
||||
_ core.VersionInfo = (*aliossServant)(nil)
|
||||
|
||||
_ core.ObjectStorageService = (*cosServant)(nil)
|
||||
_ core.OssCreateService = (*cosCreateServant)(nil)
|
||||
_ core.OssCreateService = (*cosCreateTempDirServant)(nil)
|
||||
_ core.VersionInfo = (*cosServant)(nil)
|
||||
|
||||
_ core.ObjectStorageService = (*huaweiobsServant)(nil)
|
||||
_ core.OssCreateService = (*hwobsCreateServant)(nil)
|
||||
_ core.OssCreateService = (*hwobsCreateRetentionServant)(nil)
|
||||
_ core.OssCreateService = (*hwobsCreateTempDirServant)(nil)
|
||||
_ core.VersionInfo = (*huaweiobsServant)(nil)
|
||||
|
||||
_ core.ObjectStorageService = (*localossServant)(nil)
|
||||
_ core.OssCreateService = (*localossCreateServant)(nil)
|
||||
_ core.OssCreateService = (*localossCreateTempDirServant)(nil)
|
||||
_ core.VersionInfo = (*localossServant)(nil)
|
||||
|
||||
_ core.ObjectStorageService = (*minioServant)(nil)
|
||||
_ core.OssCreateService = (*minioCreateServant)(nil)
|
||||
_ core.OssCreateService = (*minioCreateRetentionServant)(nil)
|
||||
_ core.OssCreateService = (*minioCreateTempDirServant)(nil)
|
||||
_ core.VersionInfo = (*minioServant)(nil)
|
||||
)
|
||||
@ -0,0 +1,9 @@
|
||||
//go:build constraint
|
||||
|
||||
package admin
|
||||
|
||||
import (
|
||||
api "github.com/rocboss/paopao-ce/auto/api/m/v1"
|
||||
)
|
||||
|
||||
var _ api.User = (*userSrv)(nil)
|
||||
@ -0,0 +1,9 @@
|
||||
//go:build constraint
|
||||
|
||||
package bot
|
||||
|
||||
import (
|
||||
api "github.com/rocboss/paopao-ce/auto/api/r/v1"
|
||||
)
|
||||
|
||||
var _ api.User = (*userSrv)(nil)
|
||||
@ -0,0 +1,9 @@
|
||||
//go:build constraint
|
||||
|
||||
package localoss
|
||||
|
||||
import (
|
||||
api "github.com/rocboss/paopao-ce/auto/api/s/v1"
|
||||
)
|
||||
|
||||
var _ api.User = (*userSrv)(nil)
|
||||
@ -0,0 +1,9 @@
|
||||
//go:build constraint
|
||||
|
||||
package mobile
|
||||
|
||||
import (
|
||||
api "github.com/rocboss/paopao-ce/auto/rpc/greet/v1"
|
||||
)
|
||||
|
||||
var _ api.GreetServiceServer = (*greetServiceSrv)(nil)
|
||||
@ -0,0 +1,9 @@
|
||||
//go:build constraint
|
||||
|
||||
package space
|
||||
|
||||
import (
|
||||
api "github.com/rocboss/paopao-ce/auto/api/x/v1"
|
||||
)
|
||||
|
||||
var _ api.User = (*userSrv)(nil)
|
||||
@ -0,0 +1,23 @@
|
||||
//go:build constraint
|
||||
|
||||
package web
|
||||
|
||||
import (
|
||||
api "github.com/rocboss/paopao-ce/auto/api/v1"
|
||||
)
|
||||
|
||||
var (
|
||||
_ api.Admin = (*adminSrv)(nil)
|
||||
_ api.AlipayPub = (*alipayPubSrv)(nil)
|
||||
_ api.AlipayPriv = (*alipayPrivSrv)(nil)
|
||||
_ api.Core = (*coreSrv)(nil)
|
||||
_ api.Followship = (*followshipSrv)(nil)
|
||||
_ api.Friendship = (*friendshipSrv)(nil)
|
||||
_ api.Loose = (*looseSrv)(nil)
|
||||
_ api.Pub = (*pubSrv)(nil)
|
||||
_ api.Relax = (*relaxSrv)(nil)
|
||||
_ api.Site = (*siteSrv)(nil)
|
||||
_ api.Trends = (*trendsSrv)(nil)
|
||||
_ api.Priv = (*privSrv)(nil)
|
||||
_ api.PrivChain = (*privChain)(nil)
|
||||
)
|
||||
@ -0,0 +1,18 @@
|
||||
//go:build constraint
|
||||
|
||||
package service
|
||||
|
||||
var (
|
||||
_ server = (*grpcServer)(nil)
|
||||
_ server = (*httpServer)(nil)
|
||||
|
||||
_ Service = (*adminService)(nil)
|
||||
_ Service = (*botService)(nil)
|
||||
_ Service = (*frontendWebService)(nil)
|
||||
_ Service = (*localossService)(nil)
|
||||
_ Service = (*metricsService)(nil)
|
||||
_ Service = (*pprofService)(nil)
|
||||
_ Service = (*mobileService)(nil)
|
||||
_ Service = (*spaceXService)(nil)
|
||||
_ Service = (*webService)(nil)
|
||||
)
|
||||
Loading…
Reference in new issue