Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
func (User) JavaClassName ¶
type UserProvider ¶
type UserProvider struct { GetUser func(ctx context.Context, req []interface{}, rsp *User) error // contains filtered or unexported fields }
func NewUserProvider ¶
func NewUserProvider() *UserProvider
func (*UserProvider) CallBack ¶
func (u *UserProvider) CallBack(res common.CallbackResponse)
to enable async call: 1. need to implement AsyncCallbackService 2. need to specify references -> UserProvider -> async in conf/client.yml
func (*UserProvider) GetResponse ¶
func (u *UserProvider) GetResponse() *User
func (*UserProvider) Reference ¶
func (u *UserProvider) Reference() string
Click to show internal directories.
Click to hide internal directories.