session

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Client            http.Client
	AuthenticityToken string
}

func NewSession

func NewSession() *Session

func (*Session) Get

func (sess *Session) Get(uri string) []byte

func (*Session) Post

func (sess *Session) Post(uri string, values *url.Values) []byte

func (*Session) SetAuthenticityToken

func (sess *Session) SetAuthenticityToken(token string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL