Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Go
PHP
C#
Java
Go
C++
Python
JS
TS
검색
Golang Context.ServeFile 예제들
프로그래밍 언어:
Golang
네임스페이스/패키지 이름:
code/google/com/p/rsc/websrv
클래스/타입:
Context
메소드/함수:
ServeFile
hotexamples.com에서의 예제들:
1
Golang Context.ServeFile - 1개의 예제가 발견되었습니다
. 이것들은 오픈소스 프로젝트에서 추출된 Golang의
code/google/com/p/rsc/websrv.Context.ServeFile
에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
자주 사용되는 메소드들
보기
숨기기
Write(2)
Header(1)
Redirect(1)
ServeFile(1)
자주 사용되는 메소드들
Write (2)
Header (1)
Redirect (1)
ServeFile (1)
예제 #1
0
파일 보기
파일:
main.go
프로젝트:
0x7cc/rsc
func (s *showPDF) Get(ctxt *websrv.Context) { ctxt.ServeFile(filepath.Join(*dir, s.Doc.File)) }