session

package
v0.0.0-...-e0ab828 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplaySession

func DisplaySession()

func Login

func Login()

func Logout

func Logout()

Types

type Session

type Session interface {
	Info() string
	Connect(ctx context.Context) (sarama.Client, error)
	Disconnect()
	GetClient() sarama.Client
	GetAdminClient() sarama.ClusterAdmin
	IsAuthenticated() bool
}

func GetCurrentSession

func GetCurrentSession() Session

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳