helpers

package
v0.0.0-...-7c9d587 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxInt = int(MaxUint >> 1)
View Source
const MaxUint = ^uint(0)

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApi

type FakeApi struct {
	Mux    *http.ServeMux
	Server *httptest.Server

	TokenCounter        int
	TokenRefreshCounter int
	MaxTokenRefresh     int
	TokenExpiresIn      int
	// contains filtered or unexported fields
}

func NewFakeApi

func NewFakeApi() *FakeApi

func (*FakeApi) TeardownFakeApi

func (api *FakeApi) TeardownFakeApi()

Jump to

Keyboard shortcuts

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