Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadKID = errors.New("bad KID")
View Source
var ErrCanceled = errors.New("canceled")
View Source
var ErrCannotDecrypt = errors.New("cannot decrypt")
View Source
var ErrTimeout = errors.New("request timed out")
View Source
var ErrWrongKID = errors.New("wrong KID")
View Source
var ErrWrongState = errors.New("wrong state")
View Source
var ErrWrongUID = errors.New("wrong UID")
Functions ¶
func HandleRequest ¶
func HandleRequest(ctx context.Context, xp rpc.Transporter, srv *rpc.Server, p RequestProcessor) (err error)
Types ¶
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
func (*RequestHandler) Reg2 ¶
func (a *RequestHandler) Reg2(ctx context.Context, ctext []byte) (err error)
func (*RequestHandler) Run ¶
func (a *RequestHandler) Run(ctx context.Context, xp rpc.Transporter, srv *rpc.Server)
Click to show internal directories.
Click to hide internal directories.