rails

package
v0.17.28 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCookie

func ParseCookie(cookie string) (string, error)

Types

type Auth

type Auth struct {
	Cipher   string
	Secret   string
	Salt     string
	SignSalt string
	AuthSalt string
}

func NewAuth

func NewAuth(version, secret string) (*Auth, error)

func (Auth) ParseCookie

func (ra Auth) ParseCookie(cookie string) (userID string, err error)

Jump to

Keyboard shortcuts

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