cmd

package
v0.0.0-...-2af45b2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: MIT Imports: 20 Imported by: 0

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

func Execute

func Execute()

Types

type Login

type Login struct {
	b2.AuthResponse
	ExpiredAt int64 `json:"expiredAt"`
}

type Session

type Session struct {
	Login `json:"login"`
}

Jump to

Keyboard shortcuts

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