jsonresponseparser

package
v0.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonResponse

type JsonResponse struct {
	response.UnknownResponse
}

Объект ответа VK API в формате JSON

func NewApiJsonResponse

func NewApiJsonResponse(httpResponse *http.Response) *JsonResponse

func (*JsonResponse) Error

func (v *JsonResponse) Error() error

Возвращает информацию об ошибке выполнения метода

func (*JsonResponse) ValidateJson

func (v *JsonResponse) ValidateJson() error

Валидирует JSON

type JsonResponseParser

type JsonResponseParser struct{}

Реализует интерфейс парсера (responseparser.ResponseParser) ответа VK API с поддержкой формата JSON

func (*JsonResponseParser) Parse

Парсит ответ в формате JSON

Jump to

Keyboard shortcuts

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