Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
APIServer is the HTTP API interface to AccountService. It implements the http.Handler interface.
func New ¶
func New(service *as.AccountService, backend as.Backend, leaderAddr string, clientTLS *clientutil.TLSClientConfig) (*APIServer, error)
New creates a new APIServer. If leaderAddr is not the empty string, write requests will be forwarded to that address.
Click to show internal directories.
Click to hide internal directories.