Documentation
¶
Index ¶
- func CheckIfMatch(w http.ResponseWriter, r *http.Request, version int64) bool
- func DecodeJSON(w http.ResponseWriter, r *http.Request, dst any) bool
- func ETag(version int64) string
- func NewID() uuid.UUID
- func NormalizeEmail(value string) string
- func RequestHash(r *http.Request, body []byte) []byte
- func RequestID(ctx context.Context) string
- func WithActor(ctx context.Context, value Actor) context.Context
- func WithRequestID(ctx context.Context, value string) context.Context
- func WriteJSON(w http.ResponseWriter, status int, value any)
- func WriteProblem(w http.ResponseWriter, r *http.Request, status int, code, detail string)
- type Actor
- type Problem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfMatch ¶
func DecodeJSON ¶
func NormalizeEmail ¶
func WriteProblem ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.