authclient

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 0 Imported by: 0

README

Auth Service Client

An auth client for Omega private auth service.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAuthError added in v0.1.7

func IsAuthError(err error) bool

Types

type AuthError

type AuthError struct {
	Message    string
	Err        error
	StatusCode int
	Details    ErrorDetails
}

func NewAuthError

func NewAuthError(message string, err error) *AuthError

func NewAuthErrorFromErr

func NewAuthErrorFromErr(err error) *AuthError

func NewAuthErrorWithDetails

func NewAuthErrorWithDetails(err error, status int, details ErrorDetails) *AuthError

func (AuthError) Error

func (e AuthError) Error() string

type ErrorDetails

type ErrorDetails map[string]any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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