http_static

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package http_static is a generated VPP binary API for 'http_static' module.

It consists of:

2 messages
1 service

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "http_static"
	// APIVersion is the API version of this module.
	APIVersion = "2.1.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x8ce15783
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type HTTPStaticEnable

type HTTPStaticEnable struct {
	FifoSize           uint32
	CacheSizeLimit     uint32
	PreallocFifos      uint32
	PrivateSegmentSize uint32
	WwwRoot            string `struc:"[256]byte"`
	URI                string `struc:"[256]byte"`
}

HTTPStaticEnable represents VPP binary API message 'http_static_enable'.

func (*HTTPStaticEnable) GetCrcString

func (*HTTPStaticEnable) GetCrcString() string

func (*HTTPStaticEnable) GetMessageName

func (*HTTPStaticEnable) GetMessageName() string

func (*HTTPStaticEnable) GetMessageType

func (*HTTPStaticEnable) GetMessageType() api.MessageType

func (*HTTPStaticEnable) Reset

func (m *HTTPStaticEnable) Reset()

type HTTPStaticEnableReply

type HTTPStaticEnableReply struct {
	Retval int32
}

HTTPStaticEnableReply represents VPP binary API message 'http_static_enable_reply'.

func (*HTTPStaticEnableReply) GetCrcString

func (*HTTPStaticEnableReply) GetCrcString() string

func (*HTTPStaticEnableReply) GetMessageName

func (*HTTPStaticEnableReply) GetMessageName() string

func (*HTTPStaticEnableReply) GetMessageType

func (*HTTPStaticEnableReply) GetMessageType() api.MessageType

func (*HTTPStaticEnableReply) Reset

func (m *HTTPStaticEnableReply) Reset()

type RPCService

type RPCService interface {
	HTTPStaticEnable(ctx context.Context, in *HTTPStaticEnable) (*HTTPStaticEnableReply, error)
}

RPCService represents RPC service API for http_static module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL