moonbitstack/moonzero/etcd does not have a README file
pub suberror EtcdError {
EtcdError(String)
}fn EtcdClient::delete_range(self : EtcdClient, req : EtcdDeleteRangeRequest) -> EtcdDeleteRangeResponse raisefn EtcdClient::lease_grant(self : EtcdClient, req : EtcdLeaseGrantRequest) -> EtcdLeaseGrantResponse raisefn EtcdDeleteRangeRequest::not_equal(x : EtcdDeleteRangeRequest, y : EtcdDeleteRangeRequest) -> Boolpub(all) struct EtcdDeleteRangeResponse {
deleted : Int64
prev_kvs : Array[EtcdKeyValue]
} derive(Eq)fn EtcdDeleteRangeResponse::not_equal(x : EtcdDeleteRangeResponse, y : EtcdDeleteRangeResponse) -> Boolfn EtcdDiscovery::register(self : EtcdDiscovery, service : String, endpoint : Endpoint, ttl? : Int64) -> Int64 raisepub(all) struct EtcdKeyValue {
key : Bytes
create_revision : Int64
mod_revision : Int64
version : Int64
value : Bytes
lease : Int64
} derive(Eq)fn EtcdLeaseGrantResponse::not_equal(x : EtcdLeaseGrantResponse, y : EtcdLeaseGrantResponse) -> Boolfn EtcdLeaseKeepAliveRequest::not_equal(x : EtcdLeaseKeepAliveRequest, y : EtcdLeaseKeepAliveRequest) -> Boolfn EtcdLeaseKeepAliveResponse::equal(EtcdLeaseKeepAliveResponse, EtcdLeaseKeepAliveResponse) -> Boolfn EtcdLeaseKeepAliveResponse::not_equal(x : EtcdLeaseKeepAliveResponse, y : EtcdLeaseKeepAliveResponse) -> Boolfn EtcdWatchCancelRequest::not_equal(x : EtcdWatchCancelRequest, y : EtcdWatchCancelRequest) -> Boolpub(all) struct EtcdWatchCreateRequest {
key : Bytes
range_end : Bytes
start_revision : Int64
} derive(Eq)fn EtcdWatchCreateRequest::not_equal(x : EtcdWatchCreateRequest, y : EtcdWatchCreateRequest) -> Boolpub(all) enum EtcdWatchRequest {
Create(EtcdWatchCreateRequest)
Cancel(EtcdWatchCancelRequest)
} derive(Eq)fn etcd_prefix_end(prefix : Bytes) -> Bytesfn etcd_service_prefix(prefix : String, service : String) -> StringInstall
Download zipA service framework for MoonBit after go-zero: config-driven REST engine and middleware over moonapi, zRPC over moonrpc, discovery on etcd, consul and redis, and go-zero's breaker, shedder and limiters over moonward.
Dependencies