File: interface.go

package info (click to toggle)
golang-github-nicholas-fedor-shoutrrr 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,432 kB
  • sloc: sh: 74; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
package jsonclient

import "net/http"

type Client interface {
	Get(url string, response any) error
	Post(url string, request any, response any) error
	Headers() http.Header
	ErrorResponse(err error, response any) bool
}