Documentation ¶
Index ¶
- Constants
- func AesDecode(data []byte, key []byte, zip int, checkNonce func([]byte) error) ([]byte, error)
- func AesEncode(data []byte, key []byte, zip int, buildNonce func(int) ([]byte, error)) ([]byte, error)
- func GenerateRandomBytes(size int) ([]byte, error)
- func GetCompressionType(compressionTypeString string) (int, error)
- func KursDataHandler(server *Server, w *bytes.Buffer, req string)
- func ServerStart(portNumber int, _compressionType int, kursFolder string) error
- type Server
Constants ¶
View Source
const ( CompressNone = iota CompressGzip = iota CompressBzip = iota )
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
func GetCompressionType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.