client

package
v0.0.0-...-88ec526 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const MIMEApplicationJWT = "application/jwt"

Variables

This section is empty.

Functions

func GenerateJwt

func GenerateJwt(claims jwt.MapClaims) (string, error)

func LoadCache

func LoadCache() *cache.Cache

func NewEchoEngine

func NewEchoEngine() *echo.Echo

Types

type SecureClient

type SecureClient struct {
	*http.Client
}

func NewSecureHttpClient

func NewSecureHttpClient() (*SecureClient, error)

func (*SecureClient) CallService

func (s *SecureClient) CallService(endpoint string, payload []byte) (string, error)

Jump to

Keyboard shortcuts

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