Documentation ¶
Index ¶
- func MapUserConfig(userConfig *UserConfig) (*object.HashMap, error)
- type Log
- type OAuth
- type OpenWork
- func (app *OpenWork) GetAccessToken() *kernel.AccessToken
- func (app *OpenWork) GetComponent(name string) interface{}
- func (app *OpenWork) GetConfig() *kernel.Config
- func (app *OpenWork) GetContainer() *kernel.ServiceContainer
- func (app *OpenWork) GetMiniProgram() (application *workMiniProgram.Application, err error)
- type UserConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapUserConfig ¶ added in v2.0.8
func MapUserConfig(userConfig *UserConfig) (*object.HashMap, error)
Types ¶
type OpenWork ¶
type OpenWork struct { *kernel.ServiceContainer Base *base.Client Server *server.Guard Corp *corp.Client Provider *provider.Client SuiteAccessToken *suit.AccessToken ProviderAccessToken *auth.AccessToken SuiteTicket *suit.SuiteTicket MiniProgram *miniProgram.Client Media *media.Client Contact *contact.Client LicenseOrder *license.Client LicenseAccount *license.Account Device *device.Client Encryptor *kernel.Encryptor Config *kernel.Config Logger *logger.Logger }
func NewOpenWork ¶ added in v2.0.8
func NewOpenWork(config *UserConfig) (*OpenWork, error)
func (*OpenWork) GetAccessToken ¶ added in v2.0.8
func (app *OpenWork) GetAccessToken() *kernel.AccessToken
func (*OpenWork) GetComponent ¶ added in v2.0.8
func (*OpenWork) GetContainer ¶ added in v2.0.8
func (app *OpenWork) GetContainer() *kernel.ServiceContainer
func (*OpenWork) GetMiniProgram ¶ added in v2.0.8
func (app *OpenWork) GetMiniProgram() (application *workMiniProgram.Application, err error)
Click to show internal directories.
Click to hide internal directories.