Skip to content

Commit

Permalink
feat: add MESSAGE ControllerType
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Aug 22, 2023
1 parent a34c7fc commit e5f106a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/controller-decorator/src/model/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export enum ControllerType {
HTTP = 'HTTP',
SOFA_RPC = 'SOFA_RPC',
MGW_RPC = 'MGW_RPC',
MESSAGE = 'MESSAGE',
}

export type HostType = string | string [];
Expand All @@ -18,6 +19,7 @@ export enum MethodType {
HTTP = 'HTTP',
SOFA_RPC = 'SOFA_RPC',
MGW_RPC = 'MGW_RPC',
MESSAGE = 'MESSAGE',
}

export type MethodTypeLike = ControllerType | string;
Expand Down

0 comments on commit e5f106a

Please sign in to comment.