helper

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Copyright (c) 2020 Lau All rights reserved. Use of this source code is governed by MIT License that can be found in the LICENSE file. Author: Lau <[email protected]>

Copyright (c) 2020 Lau All rights reserved. Use of this source code is governed by MIT License that can be found in the LICENSE file. Author: Lau <[email protected]>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpDo

func HttpDo(method, url string, data url.Values, header map[string]string) ([]byte, error)

func HttpGet

func HttpGet(url string) ([]byte, error)

func HttpPost

func HttpPost(url string, data url.Values) ([]byte, error)

func JWT

func JWT(key string, payload jwtData) string

JWT

func VerifyJWT

func VerifyJWT(key, token string) (jwtData, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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