/* This file is part of go-ethereum go-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. go-ethereum is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with go-ethereum. If not, see . */ package rpc import ( "encoding/json" "github.com/ethereum/go-ethereum/logger" "io" "net/http" ) var rpclogger = logger.NewLogger("RPC") type JsonWrapper struct{} func (self JsonWrapper) Send(writer io.Writer, v interface{}) (n int, err error) { var payload []byte payload, err = json.Marshal(v) if err != nil { rpclogger.Fatalln("Error marshalling JSON", err) return 0, err } rpclogger.Infof("Sending payload: %s", payload) return writer.Write(payload) } func (self JsonWrapper) ParseRequestBody(req *http.Request) (RpcRequest, error) { var reqParsed RpcRequest // Convert JSON to native types d := json.NewDecoder(req.Body) // d.UseNumber() defer req.Body.Close() err := d.Decode(&reqParsed) if err != nil { rpclogger.Errorln("Error decoding JSON: ", err) return reqParsed, err } rpclogger.DebugDetailf("Parsed request: %s", reqParsed) return reqParsed, nil } 2016Q3'>2016Q3 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/audio/guitarix-lv2/Makefile
Commit message (Expand)AuthorAgeFilesLines
* audio/guitarix-lv2: Deprecate and set expiration date to 2024-09-30Daniel Engberg2024-09-091-2/+4
* devel/boost: bump consumers after library updateDima Panov2024-02-131-1/+1
* */*: Bump consumers of x11-toolkits/gtk30Nuno Teixeira2023-12-241-1/+1
* audio/guitarix-lv2: Broken: fails to find latest faustYuri Victorovich2023-10-301-0/+2
* devel/boost*: bump all consumers after 1.83.0Dima Panov2023-09-271-1/+1
* */*: bump all direct Boost cunsumersDima Panov2023-04-281-1/+1
* audio/opus: bump consumers after update to 1.4Christian Weisgerber2023-04-251-1/+1
* *: Bump PORTREVISIONs for math/mpc update to 1.3.1Gerald Pfeifer2023-04-231-1/+1
* audio/guitarix-lv2: Update WWWYuri Victorovich2023-03-071-1/+1
* audio/guitarix-lv2: Backport patches fixing build with zita-resampler 1.10; C...Florian Walpen2023-03-071-3/+8
* accessibility/at-spi2-core: update to 2.46.0Tobias C. Berner2023-03-021-1/+1
* */*: bump libboost*.so libraries consumert after Boost upgradeDima Panov2023-01-171-1/+1
* Add WWW entries to port MakefilesStefan Eßer2022-09-081-0/+1
* */*: bump all consumers after recent boost upgradeDima Panov2022-08-121-1/+1
* devel/boost-all: bump all library consumers after boost upgradeDima Panov2022-05-231-0/+1
* audio/guitarix-lv2: Update 0.43.1 -> 0.44.1Yuri Victorovich2022-05-041-2/+1
* textproc/libxml2: bump all LIB_DEPENDS consumersCharlie Li2022-04-111-1/+1
* textproc/libxml2: bump all dependenciesMatthias Fechner2022-03-261-0/+1
* audio/guitarix-lv2: Update 0.43.0 -> 0.43.1Yuri Victorovich2021-12-111-5/+1
* audio/guitarix-lv2: Update 0.42.1 -> 0.43.0Yuri Victorovich2021-12-071-8/+16
* INSTALLS_ICONS: retire the macro and rework the related dependenciesBaptiste Daroussin2021-10-111-1/+0
* audio/jack: Update to Jack2: 0.125.0 -> 1.9.16Yuri Victorovich2021-08-031-0/+1
* audio/guitarix-lv2: Update 0.40.0 -> 0.42.1Yuri Victorovich2021-04-241-4/+1
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
* - Upgrade math/eigen3 to 3.3.8;Thierry Thomas2020-12-13