From ef2b3dea9fa2bef89d108945ef3a1bb851a52a8a Mon Sep 17 00:00:00 2001 From: lbbniu Date: Sat, 24 Jun 2023 17:33:10 +0800 Subject: [PATCH] update tars base protocol to tars2go latest --- tars/protocol/res/adminf/AdminF.tars.go | 4 ++-- tars/protocol/res/authf/Auth.tars.go | 4 ++-- tars/protocol/res/authf/AuthF.go | 6 ++++-- tars/protocol/res/basef/BaseF.go | 4 ++-- tars/protocol/res/configf/Config.tars.go | 4 ++-- tars/protocol/res/configf/ConfigF.go | 4 ++-- tars/protocol/res/endpointf/EndpointF.go | 4 ++-- tars/protocol/res/logf/Log.tars.go | 4 ++-- tars/protocol/res/logf/LogF.go | 4 ++-- tars/protocol/res/nodef/NodeF.go | 4 ++-- tars/protocol/res/nodef/ServerF.tars.go | 4 ++-- tars/protocol/res/notifyf/Notify.tars.go | 4 ++-- tars/protocol/res/notifyf/NotifyF.go | 6 ++++-- tars/protocol/res/propertyf/PropertyF.go | 4 ++-- tars/protocol/res/propertyf/PropertyF.tars.go | 4 ++-- tars/protocol/res/queryf/QueryF.tars.go | 4 ++-- tars/protocol/res/requestf/RequestF.go | 4 ++-- tars/protocol/res/statf/StatF.go | 4 ++-- tars/protocol/res/statf/StatF.tars.go | 4 ++-- 19 files changed, 42 insertions(+), 38 deletions(-) diff --git a/tars/protocol/res/adminf/AdminF.tars.go b/tars/protocol/res/adminf/AdminF.tars.go index 2a2a9c66..6b3cb9f8 100644 --- a/tars/protocol/res/adminf/AdminF.tars.go +++ b/tars/protocol/res/adminf/AdminF.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from AdminF.tars // Package adminf comment -// This file was generated by tars2go 1.2.2 -// Generated from AdminF.tars package adminf import ( diff --git a/tars/protocol/res/authf/Auth.tars.go b/tars/protocol/res/authf/Auth.tars.go index 4d46b35d..2546f83c 100644 --- a/tars/protocol/res/authf/Auth.tars.go +++ b/tars/protocol/res/authf/Auth.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from AuthF.tars // Package authf comment -// This file was generated by tars2go 1.2.2 -// Generated from AuthF.tars package authf import ( diff --git a/tars/protocol/res/authf/AuthF.go b/tars/protocol/res/authf/AuthF.go index a1663dd5..9ebc7f43 100644 --- a/tars/protocol/res/authf/AuthF.go +++ b/tars/protocol/res/authf/AuthF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from AuthF.tars // Package authf comment -// This file was generated by tars2go 1.2.2 -// Generated from AuthF.tars package authf import ( @@ -13,6 +13,7 @@ import ( var _ = fmt.Errorf var _ = codec.FromInt8 +//go:generate stringer -type AUTH_STATE -trimprefix AUTH_STATE_ -output auth_state_string.go type AUTH_STATE int32 const ( @@ -27,6 +28,7 @@ const ( AUTH_STATE_AUTH_ERROR AUTH_STATE = -106 ) +//go:generate stringer -type AUTH_TYPE -trimprefix AUTH_TYPE_ -output auth_type_string.go type AUTH_TYPE int32 const ( diff --git a/tars/protocol/res/basef/BaseF.go b/tars/protocol/res/basef/BaseF.go index c240e678..30a31c6e 100644 --- a/tars/protocol/res/basef/BaseF.go +++ b/tars/protocol/res/basef/BaseF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from BaseF.tars // Package basef comment -// This file was generated by tars2go 1.2.2 -// Generated from BaseF.tars package basef import ( diff --git a/tars/protocol/res/configf/Config.tars.go b/tars/protocol/res/configf/Config.tars.go index e5479f6c..93731edb 100644 --- a/tars/protocol/res/configf/Config.tars.go +++ b/tars/protocol/res/configf/Config.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from ConfigF.tars // Package configf comment -// This file was generated by tars2go 1.2.2 -// Generated from ConfigF.tars package configf import ( diff --git a/tars/protocol/res/configf/ConfigF.go b/tars/protocol/res/configf/ConfigF.go index 1253ce4d..220ac7b1 100644 --- a/tars/protocol/res/configf/ConfigF.go +++ b/tars/protocol/res/configf/ConfigF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from ConfigF.tars // Package configf comment -// This file was generated by tars2go 1.2.2 -// Generated from ConfigF.tars package configf import ( diff --git a/tars/protocol/res/endpointf/EndpointF.go b/tars/protocol/res/endpointf/EndpointF.go index ac25524a..972df944 100644 --- a/tars/protocol/res/endpointf/EndpointF.go +++ b/tars/protocol/res/endpointf/EndpointF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from EndpointF.tars // Package endpointf comment -// This file was generated by tars2go 1.2.2 -// Generated from EndpointF.tars package endpointf import ( diff --git a/tars/protocol/res/logf/Log.tars.go b/tars/protocol/res/logf/Log.tars.go index 6c6a4144..4e2b41ec 100644 --- a/tars/protocol/res/logf/Log.tars.go +++ b/tars/protocol/res/logf/Log.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from LogF.tars // Package logf comment -// This file was generated by tars2go 1.2.2 -// Generated from LogF.tars package logf import ( diff --git a/tars/protocol/res/logf/LogF.go b/tars/protocol/res/logf/LogF.go index 18f6a97d..042660c5 100644 --- a/tars/protocol/res/logf/LogF.go +++ b/tars/protocol/res/logf/LogF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from LogF.tars // Package logf comment -// This file was generated by tars2go 1.2.2 -// Generated from LogF.tars package logf import ( diff --git a/tars/protocol/res/nodef/NodeF.go b/tars/protocol/res/nodef/NodeF.go index 656f1f94..2d176a71 100644 --- a/tars/protocol/res/nodef/NodeF.go +++ b/tars/protocol/res/nodef/NodeF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from NodeF.tars // Package nodef comment -// This file was generated by tars2go 1.2.2 -// Generated from NodeF.tars package nodef import ( diff --git a/tars/protocol/res/nodef/ServerF.tars.go b/tars/protocol/res/nodef/ServerF.tars.go index 1f94b758..02b0da7d 100644 --- a/tars/protocol/res/nodef/ServerF.tars.go +++ b/tars/protocol/res/nodef/ServerF.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from NodeF.tars // Package nodef comment -// This file was generated by tars2go 1.2.2 -// Generated from NodeF.tars package nodef import ( diff --git a/tars/protocol/res/notifyf/Notify.tars.go b/tars/protocol/res/notifyf/Notify.tars.go index 146d0b05..099432f4 100644 --- a/tars/protocol/res/notifyf/Notify.tars.go +++ b/tars/protocol/res/notifyf/Notify.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from NotifyF.tars // Package notifyf comment -// This file was generated by tars2go 1.2.2 -// Generated from NotifyF.tars package notifyf import ( diff --git a/tars/protocol/res/notifyf/NotifyF.go b/tars/protocol/res/notifyf/NotifyF.go index 5a1e557c..26bcf8b6 100644 --- a/tars/protocol/res/notifyf/NotifyF.go +++ b/tars/protocol/res/notifyf/NotifyF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from NotifyF.tars // Package notifyf comment -// This file was generated by tars2go 1.2.2 -// Generated from NotifyF.tars package notifyf import ( @@ -13,6 +13,7 @@ import ( var _ = fmt.Errorf var _ = codec.FromInt8 +//go:generate stringer -type NOTIFYLEVEL -trimprefix NOTIFYLEVEL_ -output notifylevel_string.go type NOTIFYLEVEL int32 const ( @@ -21,6 +22,7 @@ const ( NOTIFYLEVEL_NOTIFYERROR NOTIFYLEVEL = 2 ) +//go:generate stringer -type ReportType -trimprefix ReportType_ -output reporttype_string.go type ReportType int32 const ( diff --git a/tars/protocol/res/propertyf/PropertyF.go b/tars/protocol/res/propertyf/PropertyF.go index eac61f13..ae94476c 100644 --- a/tars/protocol/res/propertyf/PropertyF.go +++ b/tars/protocol/res/propertyf/PropertyF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from PropertyF.tars // Package propertyf comment -// This file was generated by tars2go 1.2.2 -// Generated from PropertyF.tars package propertyf import ( diff --git a/tars/protocol/res/propertyf/PropertyF.tars.go b/tars/protocol/res/propertyf/PropertyF.tars.go index 6811b6de..db65426e 100644 --- a/tars/protocol/res/propertyf/PropertyF.tars.go +++ b/tars/protocol/res/propertyf/PropertyF.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from PropertyF.tars // Package propertyf comment -// This file was generated by tars2go 1.2.2 -// Generated from PropertyF.tars package propertyf import ( diff --git a/tars/protocol/res/queryf/QueryF.tars.go b/tars/protocol/res/queryf/QueryF.tars.go index 0dfc4f8d..696d0cdc 100644 --- a/tars/protocol/res/queryf/QueryF.tars.go +++ b/tars/protocol/res/queryf/QueryF.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from QueryF.tars // Package queryf comment -// This file was generated by tars2go 1.2.2 -// Generated from QueryF.tars package queryf import ( diff --git a/tars/protocol/res/requestf/RequestF.go b/tars/protocol/res/requestf/RequestF.go index 832674a3..c8f26a80 100644 --- a/tars/protocol/res/requestf/RequestF.go +++ b/tars/protocol/res/requestf/RequestF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from RequestF.tars // Package requestf comment -// This file was generated by tars2go 1.2.2 -// Generated from RequestF.tars package requestf import ( diff --git a/tars/protocol/res/statf/StatF.go b/tars/protocol/res/statf/StatF.go index 7c5449b5..b7949543 100644 --- a/tars/protocol/res/statf/StatF.go +++ b/tars/protocol/res/statf/StatF.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from StatF.tars // Package statf comment -// This file was generated by tars2go 1.2.2 -// Generated from StatF.tars package statf import ( diff --git a/tars/protocol/res/statf/StatF.tars.go b/tars/protocol/res/statf/StatF.tars.go index 282d3a66..348a13d6 100644 --- a/tars/protocol/res/statf/StatF.tars.go +++ b/tars/protocol/res/statf/StatF.tars.go @@ -1,6 +1,6 @@ +// Code generated by tars2go 1.2.2, DO NOT EDIT. +// This file was generated from StatF.tars // Package statf comment -// This file was generated by tars2go 1.2.2 -// Generated from StatF.tars package statf import (