Documentation ¶
Overview ¶
Package feature is a generated VPP binary API for 'feature' module.
It consists of:
2 messages 1 service
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "feature" // APIVersion is the API version of this module. APIVersion = "1.0.1" // VersionCrc is the CRC of this module. VersionCrc = 0x5aec37eb )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type FeatureEnableDisable ¶
type FeatureEnableDisable struct { SwIfIndex uint32 Enable uint8 ArcName []byte `struc:"[64]byte"` FeatureName []byte `struc:"[64]byte"` }
FeatureEnableDisable represents VPP binary API message 'feature_enable_disable'.
func (*FeatureEnableDisable) GetCrcString ¶
func (*FeatureEnableDisable) GetCrcString() string
func (*FeatureEnableDisable) GetMessageName ¶
func (*FeatureEnableDisable) GetMessageName() string
func (*FeatureEnableDisable) GetMessageType ¶
func (*FeatureEnableDisable) GetMessageType() api.MessageType
func (*FeatureEnableDisable) Reset ¶
func (m *FeatureEnableDisable) Reset()
type FeatureEnableDisableReply ¶
type FeatureEnableDisableReply struct {
Retval int32
}
FeatureEnableDisableReply represents VPP binary API message 'feature_enable_disable_reply'.
func (*FeatureEnableDisableReply) GetCrcString ¶
func (*FeatureEnableDisableReply) GetCrcString() string
func (*FeatureEnableDisableReply) GetMessageName ¶
func (*FeatureEnableDisableReply) GetMessageName() string
func (*FeatureEnableDisableReply) GetMessageType ¶
func (*FeatureEnableDisableReply) GetMessageType() api.MessageType
func (*FeatureEnableDisableReply) Reset ¶
func (m *FeatureEnableDisableReply) Reset()
type RPCService ¶
type RPCService interface {
FeatureEnableDisable(ctx context.Context, in *FeatureEnableDisable) (*FeatureEnableDisableReply, error)
}
RPCService represents RPC service API for feature module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
Click to show internal directories.
Click to hide internal directories.