Documentation ¶
Index ¶
Constants ¶
View Source
const ( HashBits = 20 SaltChars = 40 DefaultExtension = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type ReportReply ¶
type ReportRequest ¶
type SessionReply ¶
type SessionReply struct {
Token string `json:"token"`
}
type SessionRequest ¶
type UsageClient ¶
type UsageClient interface { NewSession(context.Context, *SessionRequest) (*SessionReply, error) SendReport(context.Context, *ReportRequest) (*ReportReply, error) }
Click to show internal directories.
Click to hide internal directories.