Documentation ¶
Index ¶
- func WithAppId(id string) func(o *GetAppOptions)
- func WithAppName(name string) func(o *GetAppOptions)
- func WithApps(o *GetUserOptions)
- func WithBasic(o *GetAppOptions)
- func WithGetTags(o *GetAppOptions)
- func WithOAuth2(o *GetAppOptions)
- func WithUserExt(o *GetUserOptions)
- func WithUsers(id ...string) func(o *GetAppOptions)
- func WithoutACL(o *GetAppOptions)
- func WithoutI18n(o *GetAppOptions)
- func WithoutOAuth2(o *GetAppOptions)
- func WithoutProxy(o *GetAppOptions)
- func WithoutUserExt(o *GetUserOptions)
- func WithoutUsers(o *GetAppOptions)
- type GetAppOptions
- type GetUserOptions
- type WithGetAppOptions
- type WithGetUserOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAppId ¶
func WithAppId(id string) func(o *GetAppOptions)
func WithAppName ¶
func WithAppName(name string) func(o *GetAppOptions)
func WithApps ¶
func WithApps(o *GetUserOptions)
func WithBasic ¶
func WithBasic(o *GetAppOptions)
func WithGetTags ¶
func WithGetTags(o *GetAppOptions)
func WithOAuth2 ¶ added in v1.4.0
func WithOAuth2(o *GetAppOptions)
func WithUserExt ¶
func WithUserExt(o *GetUserOptions)
func WithUsers ¶
func WithUsers(id ...string) func(o *GetAppOptions)
func WithoutACL ¶
func WithoutACL(o *GetAppOptions)
func WithoutI18n ¶
func WithoutI18n(o *GetAppOptions)
func WithoutOAuth2 ¶ added in v1.4.0
func WithoutOAuth2(o *GetAppOptions)
func WithoutProxy ¶
func WithoutProxy(o *GetAppOptions)
func WithoutUserExt ¶
func WithoutUserExt(o *GetUserOptions)
func WithoutUsers ¶
func WithoutUsers(o *GetAppOptions)
Types ¶
type GetAppOptions ¶
type GetAppOptions struct { DisableGetOAuth2, DisableGetUsers, DisableGetAccessController, DisableGetI18n, DisableGetProxy bool Id, Name string UserId []string GetTags bool }
func NewAppOptions ¶
func NewAppOptions(opts ...WithGetAppOptions) *GetAppOptions
type GetUserOptions ¶
type GetUserOptions struct { Id string Username string Email string PhoneNumber string Ext bool Err error Apps bool }
func NewGetUserOptions ¶
func NewGetUserOptions(opts ...WithGetUserOptions) *GetUserOptions
type WithGetAppOptions ¶
type WithGetAppOptions func(o *GetAppOptions)
type WithGetUserOptions ¶
type WithGetUserOptions func(o *GetUserOptions)
func WithEmail ¶
func WithEmail(email string) WithGetUserOptions
func WithPhoneNumber ¶
func WithPhoneNumber(no string) WithGetUserOptions
func WithUserId ¶
func WithUserId(id string) WithGetUserOptions
func WithUsername ¶
func WithUsername(username string) WithGetUserOptions
Click to show internal directories.
Click to hide internal directories.