Documentation ¶
Index ¶
- type Client
- func (c *Client) AcceptAgreement(ctx context.Context, userContext am.UserContext, accepted bool) (oid int, uid int, err error)
- func (c *Client) Create(ctx context.Context, userContext am.UserContext, user *am.User) (oid int, uid int, ucid string, err error)
- func (c *Client) Delete(ctx context.Context, userContext am.UserContext, userID int) (oid int, err error)
- func (c *Client) Get(ctx context.Context, userContext am.UserContext, userEmail string) (oid int, user *am.User, err error)
- func (c *Client) GetByCID(ctx context.Context, userContext am.UserContext, userCID string) (oid int, user *am.User, err error)
- func (c *Client) GetByID(ctx context.Context, userContext am.UserContext, userID int) (oid int, user *am.User, err error)
- func (c *Client) GetWithOrgID(ctx context.Context, userContext am.UserContext, orgID int, userCID string) (oid int, user *am.User, err error)
- func (c *Client) Init(config []byte) error
- func (c *Client) List(ctx context.Context, userContext am.UserContext, filter *am.UserFilter) (oid int, users []*am.User, err error)
- func (c *Client) SetTimeout(timeout time.Duration)
- func (c *Client) Update(ctx context.Context, userContext am.UserContext, user *am.User, userID int) (oid int, uid int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AcceptAgreement ¶
func (*Client) GetWithOrgID ¶
func (*Client) SetTimeout ¶
Click to show internal directories.
Click to hide internal directories.