Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeOutMax = 3600 CheckDirtyInteval = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TransCache ¶
type TransCache struct { Basic DataMap map[string]*TransData // contains filtered or unexported fields }
var (
Instance_TranslationCache *TransCache
)
func (*TransCache) Get ¶
func (this *TransCache) Get(ID string) *TransData
func (*TransCache) GetTranslation ¶
func (this *TransCache) GetTranslation(ID string, languageID uint32) string
type TransData ¶
type TranslatingCache ¶
var (
Instance_TranslatingCache *TranslatingCache
)
func (*TranslatingCache) Add ¶
func (this *TranslatingCache) Add(ID string, languageID uint32)
func (*TranslatingCache) Remove ¶
func (this *TranslatingCache) Remove(ID string, languageID uint32)
Click to show internal directories.
Click to hide internal directories.