Skip to main content

Golang SDK Initialization

Last updated on

To start using the Session Browser service from the Golang SDK, you must initialize the SDK by completing the following steps:

sessionService := &sessionbrowser.SessionService{
Client: factory.NewSessionBrowserClient(&repository.ConfigRepositoryImpl{}),
TokenRepository: &repository.TokenRepositoryImpl{},
}

Once you have successfully completed this initialization, you can use the Golang SDK to create, read, update, and delete Session Browsers from your serverless app.