Documentation ¶
Overview ¶
Package php_session_decoder provides possibility to decode/encode php session data in php_binary format.
Index ¶
Constants ¶
View Source
const SEPARATOR_VALUE_NAME rune = '|'
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhpDecoder ¶
type PhpDecoder struct {
// contains filtered or unexported fields
}
func NewPhpDecoder ¶
func NewPhpDecoder(phpSession string) *PhpDecoder
func (*PhpDecoder) Decode ¶
func (self *PhpDecoder) Decode() (PhpSession, error)
func (*PhpDecoder) SetSerializedDecodeFunc ¶
func (self *PhpDecoder) SetSerializedDecodeFunc(f php_serialize.SerializedDecodeFunc)
type PhpEncoder ¶
type PhpEncoder struct {
// contains filtered or unexported fields
}
func NewPhpEncoder ¶
func NewPhpEncoder(data PhpSession) *PhpEncoder
func (*PhpEncoder) Encode ¶
func (self *PhpEncoder) Encode() (string, error)
func (*PhpEncoder) SetSerializedEncodeFunc ¶
func (self *PhpEncoder) SetSerializedEncodeFunc(f php_serialize.SerializedEncodeFunc)
type PhpSession ¶
type PhpSession map[string]php_serialize.PhpValue
Click to show internal directories.
Click to hide internal directories.