Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ユーザーを識別するID。認証後にコンテキストにセットされる
ContextKeyUserID contextKey = "ctx-user-id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextReader ¶
type ContextReader struct{}
func NewContextReader ¶
func NewContextReader() *ContextReader
type ContextWriter ¶
type ContextWriter struct{}
func NewContextWriter ¶
func NewContextWriter() *ContextWriter
Click to show internal directories.
Click to hide internal directories.