Movatterモバイル変換


[0]ホーム

URL:


internal

package
v1.69.0Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License:MITImports:16Imported by:0

Details

Repository

github.com/svix/svix-webhooks

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcExecuteRequest

func ExecuteRequest[ReqBodyany, ResBodyany](ctxcontext.Context,client *SvixHttpClient,methodstring,pathstring,pathParams map[string]string,queryParams map[string]string,headerParams map[string]string,jsonBody *ReqBody,) (*ResBody,error)

funcSerializeParamToMap

func SerializeParamToMap(keystring, val interface{}, d map[string]string, err *error)

Types

typeError

type Error struct {// contains filtered or unexported fields}

Error provides access to the body, status, and error on returned errors.

func (Error)Body

func (eError) Body() []byte

Body returns the raw bytes of the response.

func (Error)Error

func (eError) Error()string

Error returns non-empty string if there was an error.

func (Error)Status

func (eError) Status()int

Status returns the HTTP status of the error.

typeSvixHttpClient

type SvixHttpClient struct {DefaultHeaders map[string]stringHTTPClient     *http.ClientRetrySchedule  []time.DurationBaseURLstringDebugbool}

funcDefaultSvixHttpClient

func DefaultSvixHttpClient(defaultBaseUrlstring)SvixHttpClient

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp