Versions in this module Expand all Collapse all v1 v1.0.1 Jul 20, 2022 v1.0.0 Jul 20, 2022 Changes in this version + const DB_VER + const ERRNO_INPUT_DATA + const ERRNO_INTERNAL_SERVER + const ERRNO_NOT_FOUND + const ERRNO_OK + const SERVICE_APP + const SERVICE_LRUCACHE + const SERVICE_MONGODB + const SERVICE_OSS + const SERVICE_REDIS + func Reg(s *G.Server) + type AppService struct + Aid int64 + AppMaxSize int64 + BasePath string + Db string + Expires int64 + IID *iid.IID + Nid int64 + Prefix string + func GetAppService(ctx micro.Context, name string) (*AppService, error) + func (s *AppService) Config() interface{} + func (s *AppService) Name() string + func (s *AppService) NewID() string + func (s *AppService) NewSecret() string + func (s *AppService) OnInit(ctx micro.Context) error + func (s *AppService) OnValid(ctx micro.Context) error + func (s *AppService) Recycle()