Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAtomicCounter ¶
Types ¶
type AtmoicCounterRepo ¶
type AtmoicCounterRepo interface { DisplayCurrentRange() string // contains filtered or unexported methods }
type CacheRepo ¶
type CacheRepo struct {
// contains filtered or unexported fields
}
CacheRepo implements the interface UrlCache
func NewCacheRepo ¶
func NewCacheRepo(c *cache.Cache) *CacheRepo
type Cassandra ¶
type Cassandra struct {
// contains filtered or unexported fields
}
func NewCassandra ¶
type PrevModRevision ¶
type PrevModRevision struct {
ModRevision int64
}
type UrlRepository ¶
type UrlService ¶
type UrlService struct { AC AtmoicCounterRepo // contains filtered or unexported fields }
func NewUrlService ¶
func NewUrlService(csdra UrlCsdra, uc UrlCache, es *datastore.EtcdStore) *UrlService
func (*UrlService) GetUrlByHash ¶
func (s *UrlService) GetUrlByHash(hash string) (u *m.Url, err error)
Click to show internal directories.
Click to hide internal directories.