Versions in this module Expand all Collapse all v1 v1.0.0 Nov 24, 2023 Changes in this version + func Cli(name string, appVersion string, buildTime string, application gira.Application) error + func StartAsClient(application gira.Application, appId int32, appType string) error + func StartAsServer(application gira.Application, appId int32, appType string) error + type ClientApplication struct + func (s *ClientApplication) OnConfigLoad(c *gira.Config) error + func (s *ClientApplication) OnCreate() error + func (s *ClientApplication) OnStart() error + func (s *ClientApplication) OnStop() error + type Runtime struct + func (runtime *Runtime) Application() gira.Application + func (runtime *Runtime) BroadcastReloadResource(ctx context.Context, name string) (result gira.BroadcastReloadResourceResult, err error) + func (runtime *Runtime) Context() context.Context + func (runtime *Runtime) Done() <-chan struct{} + func (runtime *Runtime) Err() error + func (runtime *Runtime) Frameworks() []gira.Framework + func (runtime *Runtime) GetAccountCacheClient() gira.DbClient + func (runtime *Runtime) GetAccountDbClient() gira.DbClient + func (runtime *Runtime) GetAdminCacheClient() gira.DbClient + func (runtime *Runtime) GetAdminDbClient() gira.DbClient + func (runtime *Runtime) GetAppFullName() string + func (runtime *Runtime) GetAppId() int32 + func (runtime *Runtime) GetAppName() string + func (runtime *Runtime) GetAppType() string + func (runtime *Runtime) GetAppVersion() string + func (runtime *Runtime) GetBehaviorDbClient() gira.DbClient + func (runtime *Runtime) GetBuildTime() int64 + func (runtime *Runtime) GetConfig() *gira.Config + func (runtime *Runtime) GetCron() gira.Cron + func (runtime *Runtime) GetEnv() string + func (runtime *Runtime) GetGameCacheClient() gira.DbClient + func (runtime *Runtime) GetGameDbClient() gira.DbClient + func (runtime *Runtime) GetGrpcServer() gira.GrpcServer + func (runtime *Runtime) GetLogDbClient() gira.DbClient + func (runtime *Runtime) GetLogDir() string + func (runtime *Runtime) GetPlatformSdk() gira.PlatformSdk + func (runtime *Runtime) GetRegistry() gira.Registry + func (runtime *Runtime) GetRegistryClient() gira.RegistryClient + func (runtime *Runtime) GetResourceDbClient() gira.DbClient + func (runtime *Runtime) GetResourceLoader() gira.ResourceLoader + func (runtime *Runtime) GetServiceContainer() gira.ServiceContainer + func (runtime *Runtime) GetStatDbClient() gira.DbClient + func (runtime *Runtime) GetUpTime() int64 + func (runtime *Runtime) GetWorkDir() string + func (runtime *Runtime) GetZone() string + func (runtime *Runtime) Go(f func() error) + func (runtime *Runtime) Quit() + func (runtime *Runtime) Stop() error + func (runtime *Runtime) Wait() error