Documentation ¶
Index ¶
- type GroupClient
- func (c *GroupClient) AddGroup(group string) error
- func (c *GroupClient) AddUser(group string, user User) error
- func (c *GroupClient) CheckUser(group string, user User) error
- func (c *GroupClient) DeleteGroup(group string) error
- func (c *GroupClient) DeleteUser(group string, user User) error
- func (c *GroupClient) GetGroup(group string) (g Group, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupClient ¶
type GroupClient struct { *client.AuthClient Url url.URL }
func NewGroupClient ¶
func NewGroupClient(u *url.URL, authStore client.AuthStore) *GroupClient
func (*GroupClient) AddGroup ¶
func (c *GroupClient) AddGroup(group string) error
func (*GroupClient) AddUser ¶
func (c *GroupClient) AddUser(group string, user User) error
func (*GroupClient) CheckUser ¶
func (c *GroupClient) CheckUser(group string, user User) error
func (*GroupClient) DeleteGroup ¶
func (c *GroupClient) DeleteGroup(group string) error
func (*GroupClient) DeleteUser ¶
func (c *GroupClient) DeleteUser(group string, user User) error
func (*GroupClient) GetGroup ¶
func (c *GroupClient) GetGroup(group string) (g Group, err error)
Click to show internal directories.
Click to hide internal directories.