Documentation
¶
Index ¶
Constants ¶
View Source
const ( SERVICE_LRUCACHE = "lrucache" SERVICE_REDIS = "redis" SERVICE_OSS = "oss" SERVICE_URI = "uv-uri" )
View Source
const ( ERRNO_OK = 200 ERRNO_NOT_FOUND = 404 ERRNO_INTERNAL_SERVER = 500 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type URIService ¶
type URIService struct { Prefix string `json:"prefix"` BasePath string `json:"basePath"` Aid int64 `json:"aid"` //区域ID Nid int64 `json:"nid"` //节点ID Expires int64 `json:"expires"` //过期秒数 IID *iid.IID `json:"-"` // contains filtered or unexported fields }
func GetURIService ¶
func GetURIService(ctx micro.Context, name string) (*URIService, error)
func (*URIService) Recycle ¶
func (s *URIService) Recycle()
Click to show internal directories.
Click to hide internal directories.