Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface {
// 생성자 선언
Constructor(constructors ...any)
// 라우트 선언
Route(method string, path string, handler any, opts ...router.RouteOption)
// 인터셉터 선언
Interceptor(interceptors ...core.Interceptor)
// InterceptorFor는 선택한 기본 전송 방식에 전역 인터셉터를 등록합니다.
InterceptorFor(scope boot.InterceptorScope, interceptors ...core.Interceptor)
// HTTP 전송 방식 확장(Echo 등)
Transport(fn func(any))
// 독립 실행되는 사용자 정의 전송 방식 등록
RegisterTransport(t core.CustomTransport)
// Validate는 네트워크 연결을 열지 않고 애플리케이션 설정을 검사합니다.
Validate(opts boot.Options) error
// 실행
Run(opts boot.Options) error
// RunContext는 context가 취소될 때 정상 종료를 시작합니다.
RunContext(ctx context.Context, opts boot.Options) error
// 이벤트 소비자 레지스트리 반환
Consumers() *consumer.Registry
// 웹 소켓 레지스트리 반환
WebSocket() *ws.Registry
}
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
demo
command
|
|
|
examples
|
|
|
security-config
command
|
|
|
interceptor
|
|
|
internal
|
|
|
pkg
|
|
Click to show internal directories.
Click to hide internal directories.