utils

package
v0.0.0-...-c640e2a Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCredentialFromJSON

func AuthCredentialFromJSON(m []byte) (octo.AuthCredential, error)

AuthCredentialFromJSON returns the value of AuthCredential using json encoding.

func AuthCredentialToJSON

func AuthCredentialToJSON(ac octo.AuthCredential) ([]byte, error)

AuthCredentialToJSON returns the value of AuthCredential using json encoding.

func NewContact

func NewContact(addr string) octo.Contact

NewContact returns a new instance of a octo.Contact object.

func ParseAuthorization

func ParseAuthorization(authorizationValue string) (octo.AuthCredential, error)

ParseAuthorization returns the giving scheme and values of the provided authentication scheme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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