http: github.com/bborbe/http/header Index | Files

package header

import "github.com/bborbe/http/header"

Index

Package Files

http_header.go

func CreateAuthorizationBearerHeader Uses

func CreateAuthorizationBearerHeader(name string, value string) string

func CreateAuthorizationBearerHeaderSimple Uses

func CreateAuthorizationBearerHeaderSimple(name string) string

func CreateAuthorizationToken Uses

func CreateAuthorizationToken(name string, value string) string

func CreateAuthorizationTokenSimple Uses

func CreateAuthorizationTokenSimple(name string) string

func ParseAuthorizationBasisHttpRequest Uses

func ParseAuthorizationBasisHttpRequest(req *http.Request) (string, string, error)

func ParseAuthorizationBearerHttpRequest Uses

func ParseAuthorizationBearerHttpRequest(req *http.Request) (string, string, error)

func ParseAuthorizationBearerHttpRequestSimple Uses

func ParseAuthorizationBearerHttpRequestSimple(req *http.Request) (string, error)

func ParseAuthorizationHeader Uses

func ParseAuthorizationHeader(authtype string, header string) (string, string, error)

func ParseAuthorizationHeaderSimple Uses

func ParseAuthorizationHeaderSimple(authtype string, header string) (string, error)

func ParseAuthorizationHttpRequest Uses

func ParseAuthorizationHttpRequest(authtype string, req *http.Request) (string, string, error)

func ParseAuthorizationHttpRequestSimple Uses

func ParseAuthorizationHttpRequestSimple(authtype string, req *http.Request) (string, error)

func ParseAuthorizationToken Uses

func ParseAuthorizationToken(token string) (string, string, error)

func ParseAuthorizationTokenSimple Uses

func ParseAuthorizationTokenSimple(token string) (string, error)

Package header imports 5 packages (graph) and is imported by 4 packages. Updated 2018-10-03. Refresh now. Tools for package owners.