Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
HTTPServer represents a subset of http.Server methods
type ResponseStatusWriter ¶
type ResponseStatusWriter interface { http.ResponseWriter Status() int }
ResponseStatusWriter wraps http.ResponseWriter to save HTTP status code
type Server ¶
type Server struct { Auth auth.AuthorizedKeysStorage Signer Signer Address string Logger log.FieldLogger }
Server struct containing the information necessary to run a tezos remote signers
type Signer ¶
type Signer interface { Sign(ctx context.Context, req *signatory.SignRequest) (string, error) GetPublicKey(ctx context.Context, keyHash string) (*signatory.PublicKey, error) }
Signer interface representing a Signer (currently implemented by Signatory)
type UtilityServer ¶
type UtilityServer struct { Address string Health vault.ReadinessChecker Logger log.FieldLogger // contains filtered or unexported fields }
UtilityServer struct containing the information necessary to run a utility endpoints
func (*UtilityServer) New ¶
func (u *UtilityServer) New() HTTPServer
New returns a new http server with registered routes
Click to show internal directories.
Click to hide internal directories.