Documentation ¶
Index ¶
- func CompactSerial(x interface{}) (string, error)
- func ExpandSerial(serial []byte, dst interface{}) error
- func GetSecretFromVolume(path string) (string, error)
- func HandleCORS(w http.ResponseWriter, r *http.Request, origin string) bool
- func HttpError(w http.ResponseWriter, err error, status int)
- func MarshalCBOR(x interface{}) ([]byte, error)
- func MarshalJSON(x interface{}) ([]byte, error)
- func ParamValue(r *http.Request, pos int) string
- func ParseJSON(r *http.Request, dst interface{}) error
- func QueryParam(r *http.Request, key string) (string, error)
- func ServeJSON(w http.ResponseWriter, src interface{}) error
- func UnmarshalCBOR(b []byte, dst interface{}) error
- func UnmarshalJSON(b []byte, dst interface{}) error
- func VerifyUser(ctx context.Context, projectID string, r *http.Request) (*auth.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompactSerial ¶
func ExpandSerial ¶
func GetSecretFromVolume ¶
func HandleCORS ¶
func MarshalCBOR ¶
func MarshalJSON ¶
func ServeJSON ¶
func ServeJSON(w http.ResponseWriter, src interface{}) error
func UnmarshalCBOR ¶
func UnmarshalJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.