Documentation ¶
Index ¶
Constants ¶
View Source
const ( CREATE_SESSION_ERROR_EXIT = iota + 1 READ_SESSION_ERROR_EXIT WRITE_SESSION_ERROR_EXIT ENCODE_SESSION_ERROR_EXIT DECODE_SESSION_ERROR_EXIT OPERATION_ERROR_EXIT WRONG_ARGS_EXIT AUTH_ERROR_EXIT B2_LIBRARY_ERROR_EXIT )
View Source
const MAX_VALID_DURATION_IN_SECONDS = 604800
View Source
const VERSION = "0.2.0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Login ¶
type Login struct { b2.AuthResponse ExpiredAt int64 `json:"expiredAt"` }
Click to show internal directories.
Click to hide internal directories.