Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapUserConfig ¶
func MapUserConfig(userConfig *UserConfig) (*object.HashMap, error)
Types ¶
type Application ¶
type Application struct { *kernel.ServiceContainer Base *kernel.BaseClient Config *kernel.Config JSSDK *jssdk.Client QRCode *qrCode.Client Media *media.Client URL *url.Client ContentSecurity *contentSecurity.Client }
func NewApplication ¶
func NewApplication(config *UserConfig) (*Application, error)
func (*Application) GetAccessToken ¶
func (app *Application) GetAccessToken() *kernel.AccessToken
func (*Application) GetComponent ¶
func (app *Application) GetComponent(name string) interface{}
func (*Application) GetConfig ¶
func (app *Application) GetConfig() *kernel.Config
func (*Application) GetContainer ¶
func (app *Application) GetContainer() *kernel.ServiceContainer
Click to show internal directories.
Click to hide internal directories.