pulser

package
v0.0.0-...-483b589 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleConnection

func HandleConnection(conn net.Conn) error

func HandleHttpConnection

func HandleHttpConnection(w http.ResponseWriter, r *http.Request)

func HandlerHttpReqDHParams

func HandlerHttpReqDHParams(data interface{}, sessions map[string]*mtproto.CacheData) []byte

func HandlerHttpReqPQ

func HandlerHttpReqPQ(data interface{}, sessions map[string]*mtproto.CacheData) []byte

func HandlerHttpSetClientDHParams

func HandlerHttpSetClientDHParams(data interface{}, sessions map[string]*mtproto.CacheData) []byte

Types

type MyPrivateKey

type MyPrivateKey struct {
	PublicSha1 string
	PrivateKey rsa.PrivateKey
}

MyPrivateKey struct

func GetRsaKey

func GetRsaKey() MyPrivateKey

GetRsaKey returns rsa private key

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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