Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthResource ¶
type AuthResource struct {
// contains filtered or unexported fields
}
AuthResource user resource
func NewAuthResource ¶
func NewAuthResource(store users.UserStore, authFilter restful.FilterFunction, certs *auth.Certs) *AuthResource
NewAuthResource create a new user resource
func (AuthResource) Register ¶
func (ar AuthResource) Register(container *restful.Container)
Register register the user resource with the rest container.
type UserResource ¶
type UserResource struct {
// contains filtered or unexported fields
}
UserResource user resource
func NewUserResource ¶
func NewUserResource(store users.UserStore, authFilter restful.FilterFunction) *UserResource
NewUserResource create a new user resource
func (UserResource) Register ¶
func (ur UserResource) Register(container *restful.Container)
Register register the user resource with the rest container.
Click to show internal directories.
Click to hide internal directories.