modulepackage
0.0.0-20210503215126-d21bddcc4f23
Repository: https://github.com/jbvmio/netscaler.git
Documentation: pkg.go.dev
# Functions
Connect initiates a connection to a NetScaler and returns the session token.
Disconnect logs out of the NetScaler.
NewClient creates a new NitroClient that uses individual operation calls, instead of a logged in session, to interact with the Nitro API.
NewSessionClient creates a new NitroClient that uses a logged in session to interact with the Nitro API.
# Constants
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
ConfigType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
StatsType code list:.
# Structs
DisconnectPayload is the JSON that needs to be sent to NetScaler to logout.
LoginCreds contains the username and password.
LoginPayload is the request body that needs to be sent to NetScaler to login.
NitroClient represents the client used to connect to the API.
# Interfaces
NitroType represents either a StatsType or ConfigType.