Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodecType ¶
type CodecType int
func (CodecType) MarshalJSON ¶
MarshalJSON is generated so CodecType satisfies json.Marshaler.
func (*CodecType) UnmarshalJSON ¶
UnmarshalJSON is generated so CodecType satisfies json.Unmarshaler.
type Connection ¶
type Connection int
const ( HTTP Connection = iota HTTPS RTSP RTMP RTMPS UDP )
func (Connection) MarshalJSON ¶
func (connection Connection) MarshalJSON() ([]byte, error)
MarshalJSON implementation of marshaler interface
func (Connection) String ¶
func (connection Connection) String() string
func (*Connection) UnmarshalJSON ¶
func (connection *Connection) UnmarshalJSON(data []byte) error
UnmarshalJSON implementation of marshaler interface
type ParamParser ¶
type ParamParser interface {
Parse(camBrands, camParamFolder string) ([]ShinobiParam, error)
}
func NewFileParser ¶
func NewFileParser() ParamParser
NewFileParser returns a new instance of fileParser
type Protocol ¶
type Protocol struct { Protocol Connection `json:"protocol"` Models []string `json:"models"` Codecs []Codec `json:"codec"` }
type ShinobiParam ¶
Click to show internal directories.
Click to hide internal directories.