Documentation ¶
Index ¶
- Constants
- func Create(ctx context.Context, r *CreateReq) (*models.Operator, error)
- func GetByAccountAndName(ctx context.Context, accountID types.SFID, name string) (*models.Operator, error)
- func GetBySFID(ctx context.Context, id types.SFID) (*models.Operator, error)
- func ListByCond(ctx context.Context, r *CondArgs) ([]models.Operator, error)
- func Migrate(ctx context.Context)
- func RemoveBySFID(ctx context.Context, id types.SFID) error
- type CondArgs
- type CreateReq
- type Detail
- type ListDetailRsp
- type ListReq
- type ListRsp
Constants ¶
View Source
const DefaultOperatorName = "default"
Variables ¶
This section is empty.
Functions ¶
func GetByAccountAndName ¶
func ListByCond ¶ added in v1.2.2
Types ¶
type Detail ¶ added in v1.2.2
func GetDetailByAccountAndName ¶ added in v1.2.2
type ListDetailRsp ¶ added in v1.2.2
func ListDetail ¶ added in v1.2.2
func ListDetail(ctx context.Context, r *ListReq) (*ListDetailRsp, error)
Click to show internal directories.
Click to hide internal directories.