Documentation ¶
Overview ¶
+gengo:operator:register=R +gengo:operator:tag=user
Package user GENERATED BY gengo:operator DON'T EDIT THIS FILE
Package user GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var R = courier.NewRouter(courierhttp.Group("/user"), &authoperator.ValidAccount{})
Functions ¶
This section is empty.
Types ¶
type CurrentPermissions ¶
type CurrentPermissions struct {
courierhttp.MethodGet `path:"/permissions"`
}
func (*CurrentPermissions) Output ¶
func (p *CurrentPermissions) Output(ctx context.Context) (interface{}, error)
func (*CurrentPermissions) ResponseContent ¶
func (*CurrentPermissions) ResponseContent() any
func (CurrentPermissions) RuntimeDoc ¶
func (v CurrentPermissions) RuntimeDoc(names ...string) ([]string, bool)
type CurrentUser ¶
type CurrentUser struct {
courierhttp.MethodGet
}
func (*CurrentUser) ResponseContent ¶
func (*CurrentUser) ResponseContent() any
func (CurrentUser) RuntimeDoc ¶
func (v CurrentUser) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.