Documentation ¶
Index ¶
- func MapUserConfig(userConfig *UserConfig) (*object.HashMap, error)
- type Http
- 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 ¶
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 ¶
func NewOpenWork(config *UserConfig) (*OpenWork, error)
func (*OpenWork) GetAccessToken ¶
func (app *OpenWork) GetAccessToken() *kernel.AccessToken
func (*OpenWork) GetComponent ¶
func (*OpenWork) GetContainer ¶
func (app *OpenWork) GetContainer() *kernel.ServiceContainer
func (*OpenWork) GetMiniProgram ¶
func (app *OpenWork) GetMiniProgram() (application *workMiniProgram.Application, err error)
Click to show internal directories.
Click to hide internal directories.