launchpad.net/~rogpeppe/juju-core/500-errgo-fix@v0.0.0-20140213181702-000000002356/state/api/uniter/endpoint.go (about)

     1  // Copyright 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package uniter
     5  
     6  import "launchpad.net/juju-core/charm"
     7  
     8  // Endpoint represents one endpoint of a relation. It is just a wrapper
     9  // around charm.Relation. No API calls to the server-side are needed to
    10  // support the interface needed by the uniter worker.
    11  type Endpoint struct {
    12  	charm.Relation
    13  }