package cookie
import "github.com/google/martian/cookie"
Package cookie allows for the modification of cookies on http requests and responses.
Index ¶
Functions ¶
func NewModifier ¶
func NewModifier(cookie *http.Cookie) martian.RequestResponseModifier
NewModifier returns a modifier that injects the provided cookie into the request or response.
Source Files ¶
- Version
- v2.0.0-beta+incompatible
- Published
- Aug 14, 2015
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 4 hours ago –
Tools for package owners.