app_base

package
v0.0.0-...-2f2c2f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Dir     string `toml:"-"`
	AppName string `json:"app_name" toml:"app_name"`

	ServiceName string `toml:"-"`

	AppDir string `toml:"app_dir" `

	Proto string `json:"Proto" toml:"proto"`

	GitUrl string `json:"git_url" toml:"git_url"`
	GoMod  string `json:"go_mod"`

	Done chan error `toml:"-"`
}
var Instance *App

func GetApp

func GetApp() *App

func (*App) AddProto

func (a *App) AddProto(p string)

func (*App) ConfDir

func (a *App) ConfDir(s string) string

func (*App) ConfDir2

func (a *App) ConfDir2(s string) string

func (*App) DataDir

func (a *App) DataDir(s string) string

func (*App) DataDir2

func (a *App) DataDir2(s string) string

func (*App) InitAppConfFile

func (a *App) InitAppConfFile()

func (*App) InitAppDir

func (a *App) InitAppDir()

func (*App) InitAppFile

func (a *App) InitAppFile()

func (*App) InitAppInternalConf

func (a *App) InitAppInternalConf()

func (*App) InitAppMain

func (a *App) InitAppMain()

func (*App) InitAppRegister

func (a *App) InitAppRegister()

func (*App) InitInternal

func (a *App) InitInternal()

func (*App) InitServiceDir

func (a *App) InitServiceDir()

func (*App) InitThirdParty

func (a *App) InitThirdParty()

func (*App) MarsLog

func (a *App) MarsLog()

func (*App) ProtoClientGo

func (a *App) ProtoClientGo() string

func (*App) ProtoClientGoSuf

func (a *App) ProtoClientGoSuf() string

func (*App) ProtoCol

func (a *App) ProtoCol() string

func (*App) ReadFromToml

func (a *App) ReadFromToml()

func (*App) ServerDir

func (a *App) ServerDir(s string) string

func (*App) ServerDir2

func (a *App) ServerDir2(s string) string

func (*App) ServiceDir

func (a *App) ServiceDir(s string) string

func (*App) ServiceDir2

func (a *App) ServiceDir2(s string) string

func (*App) WriteMakeFile

func (a *App) WriteMakeFile()

func (*App) WriteToml

func (a *App) WriteToml()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL