Versions in this module Expand all Collapse all v0 v0.2.0 Oct 7, 2026 v0.1.0 Oct 7, 2026 Changes in this version + func Call(ctx context.Context, app, method string, in []byte) ([]byte, error) + func Caller(ctx context.Context) string + func DecodeError(err error) error + func Error(code Code, msg string) error + func Errorf(code Code, format string, args ...any) error + type Code int + const AlreadyExists + const FailedPrecondition + const Internal + const InvalidArgument + const NotFound + const PermissionDenied + const Unavailable + func CodeOf(err error) Code + func (c Code) String() string + type Method struct + Apps bool + Call func(ctx context.Context, in []byte) ([]byte, error) + Callers []string + Name string + Require []string + type Server struct + func NewServer(methods ...Method) *Server + func (s *Server) Handler() (path string, h http.Handler)