Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapUserConfig ¶
func MapUserConfig(userConfig *UserConfig) (*object.HashMap, error)
Types ¶
type OpenPlatform ¶
type OpenPlatform struct { *kernel.ServiceContainer Base *base.Client VerifyTicket *auth.VerifyTicket AccessToken *auth.AccessToken Server *server.Guard Encryptor *kernel.Encryptor Config *kernel.Config Logger *logger.Logger }
func NewOpenPlatform ¶
func NewOpenPlatform(config *UserConfig) (*OpenPlatform, error)
func (*OpenPlatform) GetAccessToken ¶
func (app *OpenPlatform) GetAccessToken() *kernel.AccessToken
func (*OpenPlatform) GetComponent ¶
func (app *OpenPlatform) GetComponent(name string) interface{}
func (*OpenPlatform) GetConfig ¶
func (app *OpenPlatform) GetConfig() *kernel.Config
func (*OpenPlatform) GetContainer ¶
func (app *OpenPlatform) GetContainer() *kernel.ServiceContainer
Click to show internal directories.
Click to hide internal directories.