session

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActorID

type ActorID string

ActorID is globally unique identifier that in format "charon:user:<user_id>".

func ActorIDFromInt64

func ActorIDFromInt64(userID int64) ActorID

ActorIDFromInt64 allocate ActorID using given user id.

func (ActorID) String

func (ai ActorID) String() string

String implements fmt.Stringer interface.

func (ActorID) UserID

func (ai ActorID) UserID() (int64, error)

UserID returns user id if possible, otherwise an error.

Jump to

Keyboard shortcuts

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