summaryrefslogtreecommitdiffstats
path: root/examples/bin_api/memif
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-10-03 05:14:40 -0700
committerOndrej Fabry <ofabry@cisco.com>2018-10-03 05:14:40 -0700
commit62d19032621c7db801b313a1e19e787cfb1fbc3e (patch)
treed2181b6b09f8cbbaf32a4dff72e9d64675a243bb /examples/bin_api/memif
parent0f731471ab258d9e01658f0ab70f8317fd0fb89c (diff)
Omit message factory and line numbers from generated output
Change-Id: Ie48cc0a641242625daf55caf00ab630e78aa86b7 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/bin_api/memif')
-rw-r--r--examples/bin_api/memif/memif.ba.go52
1 files changed, 5 insertions, 47 deletions
diff --git a/examples/bin_api/memif/memif.ba.go b/examples/bin_api/memif/memif.ba.go
index ceb615f..ce8c9c0 100644
--- a/examples/bin_api/memif/memif.ba.go
+++ b/examples/bin_api/memif/memif.ba.go
@@ -1,15 +1,13 @@
// Code generated by GoVPP binapi-generator. DO NOT EDIT.
-// source: memif.api.json
+// source: memif.api.json
/*
-Package memif is a generated VPP binary API of the 'memif' VPP module.
+ Package memif is a generated from VPP binary API module 'memif'.
-It is generated from this file:
- memif.api.json
+ It contains following objects:
+ 10 messages
+ 5 services
-It contains these VPP binary API objects:
- 10 messages
- 5 services
*/
package memif
@@ -25,7 +23,6 @@ var _ = bytes.NewBuffer
/* Messages */
// MemifSocketFilenameAddDel represents the VPP binary API message 'memif_socket_filename_add_del'.
-// Generated from 'memif.api.json', line 4:
//
// "memif_socket_filename_add_del",
// [
@@ -72,12 +69,8 @@ func (*MemifSocketFilenameAddDel) GetCrcString() string {
func (*MemifSocketFilenameAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMemifSocketFilenameAddDel() api.Message {
- return &MemifSocketFilenameAddDel{}
-}
// MemifSocketFilenameAddDelReply represents the VPP binary API message 'memif_socket_filename_add_del_reply'.
-// Generated from 'memif.api.json', line 35:
//
// "memif_socket_filename_add_del_reply",
// [
@@ -109,12 +102,8 @@ func (*MemifSocketFilenameAddDelReply) GetCrcString() string {
func (*MemifSocketFilenameAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMemifSocketFilenameAddDelReply() api.Message {
- return &MemifSocketFilenameAddDelReply{}
-}
// MemifCreate represents the VPP binary API message 'memif_create'.
-// Generated from 'memif.api.json', line 53:
//
// "memif_create",
// [
@@ -197,12 +186,8 @@ func (*MemifCreate) GetCrcString() string {
func (*MemifCreate) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMemifCreate() api.Message {
- return &MemifCreate{}
-}
// MemifCreateReply represents the VPP binary API message 'memif_create_reply'.
-// Generated from 'memif.api.json', line 113:
//
// "memif_create_reply",
// [
@@ -239,12 +224,8 @@ func (*MemifCreateReply) GetCrcString() string {
func (*MemifCreateReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMemifCreateReply() api.Message {
- return &MemifCreateReply{}
-}
// MemifDelete represents the VPP binary API message 'memif_delete'.
-// Generated from 'memif.api.json', line 135:
//
// "memif_delete",
// [
@@ -280,12 +261,8 @@ func (*MemifDelete) GetCrcString() string {
func (*MemifDelete) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMemifDelete() api.Message {
- return &MemifDelete{}
-}
// MemifDeleteReply represents the VPP binary API message 'memif_delete_reply'.
-// Generated from 'memif.api.json', line 157:
//
// "memif_delete_reply",
// [
@@ -317,12 +294,8 @@ func (*MemifDeleteReply) GetCrcString() string {
func (*MemifDeleteReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMemifDeleteReply() api.Message {
- return &MemifDeleteReply{}
-}
// MemifSocketFilenameDetails represents the VPP binary API message 'memif_socket_filename_details'.
-// Generated from 'memif.api.json', line 175:
//
// "memif_socket_filename_details",
// [
@@ -360,12 +333,8 @@ func (*MemifSocketFilenameDetails) GetCrcString() string {
func (*MemifSocketFilenameDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMemifSocketFilenameDetails() api.Message {
- return &MemifSocketFilenameDetails{}
-}
// MemifSocketFilenameDump represents the VPP binary API message 'memif_socket_filename_dump'.
-// Generated from 'memif.api.json', line 198:
//
// "memif_socket_filename_dump",
// [
@@ -395,12 +364,8 @@ func (*MemifSocketFilenameDump) GetCrcString() string {
func (*MemifSocketFilenameDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMemifSocketFilenameDump() api.Message {
- return &MemifSocketFilenameDump{}
-}
// MemifDetails represents the VPP binary API message 'memif_details'.
-// Generated from 'memif.api.json', line 216:
//
// "memif_details",
// [
@@ -484,12 +449,8 @@ func (*MemifDetails) GetCrcString() string {
func (*MemifDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMemifDetails() api.Message {
- return &MemifDetails{}
-}
// MemifDump represents the VPP binary API message 'memif_dump'.
-// Generated from 'memif.api.json', line 276:
//
// "memif_dump",
// [
@@ -519,9 +480,6 @@ func (*MemifDump) GetCrcString() string {
func (*MemifDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMemifDump() api.Message {
- return &MemifDump{}
-}
/* Services */