Documentation
¶
Index ¶
- func GetPrivateKey(ctx context.Context) (*ecdsa.PrivateKey, error)
- func GetPublicKey(ctx context.Context) (*ecdsa.PublicKey, error)
- func KeyHandler(w http.ResponseWriter, r *http.Request)
- func SearchHandler(w http.ResponseWriter, r *http.Request)
- func TunnelHandler(w http.ResponseWriter, r *http.Request)
- type ExURL
- type HTML
- type Property
- type ServerKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrivateKey ¶
func GetPrivateKey(ctx context.Context) (*ecdsa.PrivateKey, error)
GetPrivateKey は秘密鍵を取得する
func GetPublicKey ¶
GetPublicKey は公開鍵を取得する
func SearchHandler ¶
func SearchHandler(w http.ResponseWriter, r *http.Request)
SearchHandler はWeb検索を行い結果を返す
func TunnelHandler ¶
func TunnelHandler(w http.ResponseWriter, r *http.Request)
TunnelHandler はhttpで提供されているコンテンツにアクセスするためのproxy機能
Types ¶
type ExURL ¶
type ExURL string
ExURL は拡張URL型
func (ExURL) MarshalJSON ¶
MarshalJSON は拡張ExURLをJSON出力する
type Property ¶
type Property struct {
// contains filtered or unexported fields
}
Property はデフォルト値を持つプロパティ 値はdatastoreに持つ.
func NewFromContext ¶
NewFromContext はコンテキストを元にPropertyを作成する
Click to show internal directories.
Click to hide internal directories.