Documentation ¶
Overview ¶
Package session provides session management utility and token storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { // The session's configuration. Config phpipam.Config // The session token. Token Token }
Session represents a PHPIPAM session.
func NewSession ¶
NewSession creates a new session based off supplied configs. It is up to the client for each controller implementation to log in and refresh the token. This is provided in the base client.Client implementation.
Click to show internal directories.
Click to hide internal directories.