admin

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

+gengo:operator:register=R +gengo:operator:tag=admin

Package admin GENERATED BY gengo:operator DON'T EDIT THIS FILE

Package admin GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DeleteAdminAccount

type DeleteAdminAccount struct {
	courierhttp.MethodDelete `path:"/admin/accounts/:accountID"`
	AccountID                account.ID `name:"accountID" in:"path"`
}

func (DeleteAdminAccount) MiddleOperators

func (DeleteAdminAccount) MiddleOperators() courier.MiddleOperators

func (*DeleteAdminAccount) Output

func (p *DeleteAdminAccount) Output(ctx context.Context) (any, error)

func (*DeleteAdminAccount) ResponseContent

func (*DeleteAdminAccount) ResponseContent() any

func (DeleteAdminAccount) RuntimeDoc

func (v DeleteAdminAccount) RuntimeDoc(names ...string) ([]string, bool)

type ListAccount

type ListAccount struct {
	courierhttp.MethodGet `path:"/accounts"`
	account.UserQueryParams
}

func (*ListAccount) Output

func (p *ListAccount) Output(ctx context.Context) (any, error)

func (*ListAccount) ResponseContent

func (*ListAccount) ResponseContent() any

func (ListAccount) RuntimeDoc

func (v ListAccount) RuntimeDoc(names ...string) ([]string, bool)

type ListAdminAccount

type ListAdminAccount struct {
	courierhttp.MethodGet `path:"/admin/accounts"`
	group.UserQueryParams
}

func (*ListAdminAccount) Output

func (p *ListAdminAccount) Output(ctx context.Context) (any, error)

func (*ListAdminAccount) ResponseContent

func (*ListAdminAccount) ResponseContent() any

func (ListAdminAccount) RuntimeDoc

func (v ListAdminAccount) RuntimeDoc(names ...string) ([]string, bool)

type PutAdminAccount

type PutAdminAccount struct {
	courierhttp.MethodPut `path:"/admin/accounts/:accountID"`
	AccountID             account.ID `name:"accountID" in:"path"`
	group.RoleInfo        `in:"body"`
}

func (PutAdminAccount) MiddleOperators

func (PutAdminAccount) MiddleOperators() courier.MiddleOperators

func (*PutAdminAccount) Output

func (p *PutAdminAccount) Output(ctx context.Context) (any, error)

func (*PutAdminAccount) ResponseContent

func (*PutAdminAccount) ResponseContent() any

func (PutAdminAccount) RuntimeDoc

func (v PutAdminAccount) RuntimeDoc(names ...string) ([]string, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL