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) License(corpID string) (*license.Client, error)
- func (app *OpenWork) Provider(corpID string) (*provider.Client, 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 User *user.Client ExternalContact *externalcontact.Client Suite *suit.Client SuiteAccessToken *suit.AccessToken SuiteTicket *suit.SuiteTicket 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
Click to show internal directories.
Click to hide internal directories.