Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CorsCodec ¶
func (CorsCodec) NewRequest ¶
func (cc CorsCodec) NewRequest(req *http.Request) rpc.CodecRequest
override exactly one method of the underlying anonymous field and delegate to it.
type CorsCodecRequest ¶
type CorsCodecRequest struct { CorsDomains []string UnderlyingCodecRequest rpc.CodecRequest }
func (CorsCodecRequest) Method ¶
func (ccr CorsCodecRequest) Method() (string, error)
func (CorsCodecRequest) ReadRequest ¶
func (ccr CorsCodecRequest) ReadRequest(req interface{}) error
func (CorsCodecRequest) WriteResponse ¶
func (ccr CorsCodecRequest) WriteResponse(w http.ResponseWriter, reply interface{}, methodErr error) error
override exactly one method of the underlying anonymous field and delegate to it.
Click to show internal directories.
Click to hide internal directories.