session

package
v3.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCustomerParams

type CreateCustomerParams struct {
	Id string `json:"id,omitempty"`
}

type CreateRequestParams

type CreateRequestParams struct {
	Customer     *CreateCustomerParams     `json:"customer,omitempty"`
	Subscription *CreateSubscriptionParams `json:"subscription,omitempty"`
}

type CreateSubscriptionParams

type CreateSubscriptionParams struct {
	Id string `json:"id,omitempty"`
}

type RetrieveRequestParams

type RetrieveRequestParams struct {
	Id string `json:"id,omitempty"`
}

type Session

type Session struct {
	Id        string          `json:"id"`
	Content   json.RawMessage `json:"content"`
	CreatedAt int64           `json:"created_at"`
	ExpiresAt int64           `json:"expires_at"`
	Object    string          `json:"object"`
}

Jump to

Keyboard shortcuts

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