Documentation
¶
Overview ¶
Package turngrant defines the session's network-independent credential issuance contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credential ¶
type IssueRequest ¶
type IssueRequest struct {
Trace Trace
Mode p.TURNMode
ServiceIDs []string
Reusable map[string]bool
}
Reusable contains only live grants already owned by the requesting session.
type IssueResult ¶
type IssueResult struct {
Retained []string
Status p.TURNStatus
HasFallback bool
Credentials []Credential
}
Click to show internal directories.
Click to hide internal directories.