Documentation ¶
Overview ¶
Package http_static contains generated bindings for API file http_static.api.
Contents:
2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type HTTPStaticEnable
- func (*HTTPStaticEnable) GetCrcString() string
- func (*HTTPStaticEnable) GetMessageName() string
- func (*HTTPStaticEnable) GetMessageType() api.MessageType
- func (m *HTTPStaticEnable) Marshal(b []byte) ([]byte, error)
- func (m *HTTPStaticEnable) Reset()
- func (m *HTTPStaticEnable) Size() (size int)
- func (m *HTTPStaticEnable) Unmarshal(b []byte) error
- type HTTPStaticEnableReply
- func (*HTTPStaticEnableReply) GetCrcString() string
- func (*HTTPStaticEnableReply) GetMessageName() string
- func (*HTTPStaticEnableReply) GetMessageType() api.MessageType
- func (m *HTTPStaticEnableReply) Marshal(b []byte) ([]byte, error)
- func (m *HTTPStaticEnableReply) Reset()
- func (m *HTTPStaticEnableReply) Size() (size int)
- func (m *HTTPStaticEnableReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "http_static" APIVersion = "2.1.0" VersionCrc = 0xd29e72e9 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type HTTPStaticEnable ¶
type HTTPStaticEnable struct { FifoSize uint32 `binapi:"u32,name=fifo_size" json:"fifo_size,omitempty"` CacheSizeLimit uint32 `binapi:"u32,name=cache_size_limit" json:"cache_size_limit,omitempty"` PreallocFifos uint32 `binapi:"u32,name=prealloc_fifos" json:"prealloc_fifos,omitempty"` PrivateSegmentSize uint32 `binapi:"u32,name=private_segment_size" json:"private_segment_size,omitempty"` WwwRoot string `binapi:"string[256],name=www_root" json:"www_root,omitempty"` URI string `binapi:"string[256],name=uri" json:"uri,omitempty"` }
HTTPStaticEnable defines 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()
func (*HTTPStaticEnable) Size ¶
func (m *HTTPStaticEnable) Size() (size int)
func (*HTTPStaticEnable) Unmarshal ¶
func (m *HTTPStaticEnable) Unmarshal(b []byte) error
type HTTPStaticEnableReply ¶
type HTTPStaticEnableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
HTTPStaticEnableReply defines 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) Marshal ¶
func (m *HTTPStaticEnableReply) Marshal(b []byte) ([]byte, error)
func (*HTTPStaticEnableReply) Reset ¶
func (m *HTTPStaticEnableReply) Reset()
func (*HTTPStaticEnableReply) Size ¶
func (m *HTTPStaticEnableReply) Size() (size int)
func (*HTTPStaticEnableReply) Unmarshal ¶
func (m *HTTPStaticEnableReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
HTTPStaticEnable(ctx context.Context, in *HTTPStaticEnable) (*HTTPStaticEnableReply, error)
}
RPCService defines RPC service http_static.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.